Initial Commit

This commit is contained in:
Emma Nora Theuer 2024-06-04 02:58:18 +02:00
parent 0587d5a983
commit 3329eef36f
6 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST wallman-1.3.1b1.tar.gz 7184 BLAKE2B e67aee25eb6c33ea814c272252d02389ccd3cf1ba08f60b162ea70897885d4e4cd29c3b2dbff3769db7e676709660ceaa661652aad864c15470cd07f4f7077ac SHA512 3ee33d7fa3f71141da322a500dd3f48195bea280ac16efa1c8767ac1fa58e3a382955fe1efc0bd469f9d3790718e969fb7e6e4a0c44a95326488c6373787024b

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Emma Nora Theuer</name>
<email>gentoo@entheuer.de</email>
</maintainer>
<upstream>
<remote-id type="pypi">Wallman</remote-id>
</upstream>
<longdescription>
Wallman is a small python program meant to bring dynamic wallpapers
to standalone X11 Window managers and Wayland compositors.
It uses APScheduler in the background. For setting wallpaperss
It currently relies on feh in the background. libnotify is used for
Desktop notifications.
Wallman reads it's configuration data from a TOML file and logs to
~/.local/share/wallman/wallman.log
</longdescription>
</pkgmetadata>

View file

@ -0,0 +1,43 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the MIT License
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11,12} )
inherit distutils-r1 pypi
REAL_PV="${PV/_beta/b}"
DESCRIPTION="A python program that sets dynamic wallpapers on minimalistic Window Managers."
HOMEPAGE="https://git.entheuer.de/emma/wallman/"
SRC_URI="$(pypi_sdist_url "${PN^}" "${REAL_PV}")"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/APScheduler[${PYTHON_USEDEP}]
media-gfx/feh
x11-libs/libnotify
"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
python_prepare_all() {
distutils-r1_python_prepare_all
}
python_compile() {
distutils-r1_python_compile -j1
}
python_install() {
distutils-r1_python_install
# Add a symlink to make the scrupt callable from the commandline
local scriptname="wallman.py"
local target="/usr/bin/wallman"
local scriptpath="$(python_get_sitedir)/${scriptname}"
fperms +x "${scriptpath}"
dosym "$(python_get_sitedir)/${scriptname}" "${target}"
}

View file

@ -0,0 +1,3 @@
masters = gentoo
thin-manifests = true
sign-manifests = false

View file

@ -0,0 +1 @@
8

View file

@ -0,0 +1 @@
wallman