From aa927cd1db6a86ddb60eb56a0ee749f0392afbb1 Mon Sep 17 00:00:00 2001 From: Emma Nora Theuer Date: Wed, 5 Jun 2024 16:17:00 +0200 Subject: [PATCH] upgrade to new version --- .../Gentoo/wallman/app-misc/wallman/Manifest | 2 +- .../app-misc/wallman/wallman-1.3.2.ebuild | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.ebuild diff --git a/distfiles/Gentoo/wallman/app-misc/wallman/Manifest b/distfiles/Gentoo/wallman/app-misc/wallman/Manifest index ca3c65b..07505e2 100644 --- a/distfiles/Gentoo/wallman/app-misc/wallman/Manifest +++ b/distfiles/Gentoo/wallman/app-misc/wallman/Manifest @@ -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 diff --git a/distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.ebuild b/distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.ebuild new file mode 100644 index 0000000..17a8415 --- /dev/null +++ b/distfiles/Gentoo/wallman/app-misc/wallman/wallman-1.3.2.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}" +}