Update version

This commit is contained in:
Emma Nora Theuer 2024-06-06 17:55:35 +02:00
parent 8918f934aa
commit 246152537e
2 changed files with 43 additions and 1 deletions

View file

@ -1 +1 @@
DIST wallman-1.3.2.tar.gz 7796 BLAKE2B 2bc74390f801266b70190724f7eef6915e3361382469edc99610ca7ccdabe33a7b61e291d1c8e67992d13bcc6f44d032597a2697267ce45d3cb48b742cc4634c SHA512 ff79f15e625e3d7b37b1ccfb98a7578d82ef46532405285a350a04092eef5c3e3a22c1d32ab6a16655c0010664e9bb8916cc17c6c2b0665eed6c8fb85fd6d39d
DIST wallman-1.3.2.1.tar.gz 7824 BLAKE2B 43c025e400c5051f37bad17ea697fa4e07a15460fb3deb4cf527d861a8925c10984890ce3c4107606e9ea8a36f0ef869ecf5b8a65d1dc2d77c88c02501d5ff7a SHA512 1e34fa06267ef59b81e4538d7fee018138f9cc45e460638668f04a73f10717f886bacdd565ceba75cf34aa48584b9dc769389da94b35ffa1c7912b67999354c8

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}"
}