Update Version

This commit is contained in:
Emma Nora Theuer 2024-06-09 20:29:10 +02:00
parent 1f1d181641
commit 38a83d5e09
2 changed files with 43 additions and 1 deletions

View file

@ -1 +1 @@
DIST wallman-1.3.2.2.tar.gz 7826 BLAKE2B 36c581479aaa9be98de71c913e792a98f243676436e30d04e9d5026e1f2a50944b0e757ef634df6e57267607fad2d49a7cb0c09a0a9b13da44df8b755bacf858 SHA512 d6a8af06bb5cfcad3b085fb46c6a649bbe90d90d05fca3288a909b4aec0f9c35df592c28dc6aaa2a3b23b48095d1b7825aeb9300fb4b167613903f4ab7f22adf
DIST wallman-1.3.2.3.tar.gz 7874 BLAKE2B 71a2f7070140c6b5fb0f5d338d206acb8b8b373823636b6334fd8e2a58fdc61e3763ca5f2e349982a46e7c7d58365b2c3f93dcbe556b94495e11c5c5b8c4dbec SHA512 188335fdc225c1f816e1de55b76803ae7237e116d1b29aea84b1cbb9d35ed99b4d576139b78c138b6af6697c20353f42ac18dfe41b30dcca7e651cf9a7ac78b7

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