upgrade to new version

This commit is contained in:
Emma Nora Theuer 2024-06-05 16:17:00 +02:00
parent 1b4bb676f7
commit aa927cd1db
2 changed files with 43 additions and 1 deletions

View file

@ -1 +1 @@
DIST wallman-1.3.1b1.tar.gz 7184 BLAKE2B e67aee25eb6c33ea814c272252d02389ccd3cf1ba08f60b162ea70897885d4e4cd29c3b2dbff3769db7e676709660ceaa661652aad864c15470cd07f4f7077ac SHA512 3ee33d7fa3f71141da322a500dd3f48195bea280ac16efa1c8767ac1fa58e3a382955fe1efc0bd469f9d3790718e969fb7e6e4a0c44a95326488c6373787024b DIST wallman-1.3.2.tar.gz 7796 BLAKE2B 2bc74390f801266b70190724f7eef6915e3361382469edc99610ca7ccdabe33a7b61e291d1c8e67992d13bcc6f44d032597a2697267ce45d3cb48b742cc4634c SHA512 ff79f15e625e3d7b37b1ccfb98a7578d82ef46532405285a350a04092eef5c3e3a22c1d32ab6a16655c0010664e9bb8916cc17c6c2b0665eed6c8fb85fd6d39d

View file

@ -0,0 +1,42 @@
# 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
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^}" "${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}"
}