diff --git a/distfiles/Gentoo/wallman/app-misc/wallman/Manifest b/distfiles/Gentoo/wallman/app-misc/wallman/Manifest index c1d1f0f..26e8bba 100644 --- a/distfiles/Gentoo/wallman/app-misc/wallman/Manifest +++ b/distfiles/Gentoo/wallman/app-misc/wallman/Manifest @@ -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 diff --git a/distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.3.ebuild b/distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.3.ebuild new file mode 100644 index 0000000..17a8415 --- /dev/null +++ b/distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.3.ebuild @@ -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}" +}