python-crontab: update to 3.2.0, add test and dependencies

add metadata
fix pkgcheck scan
remove 9999 version
This commit is contained in:
rick 2025-06-09 02:07:34 +02:00
parent b22e210842
commit b158abc376
No known key found for this signature in database
GPG key ID: A2E7B6CA577C8F07
4 changed files with 30 additions and 27 deletions

View file

@ -1 +1 @@
DIST python-crontab-20191023.tar.bz2 39197 BLAKE2B cf354714c2ee20f69c1d336e21555b6924f5d5501f81c6a7ce4d86faa03b0ee32bf8b033a7dedbe9b759a2eb590586315c1804e1222fb5a09ebb6c4162ae597a SHA512 8df8e2c0671b9ca2daf98ed09624242d10760e62e8cd5c7991c4a1730c129c4fa19bee14a3cf7cc1a3fe2cf53b435ad9da31f4db0f1320ee3a57a26b4399d6ab
DIST python-crontab-3.2.0.tar.bz2 42724 BLAKE2B 89ecc378063817d18d2edfb8e74f2d6ab0669755374f1378c2034e7918794936953c313099e066134e06ddc56a196c81d5e446046df1d1a13d4694745847ed49 SHA512 078e1e2f98d48d81e109093e3c0a5303bbf5c4c88e423c5fefc88c2551d876c6dac5a1b274309b425b77df102d0cfb59d27cb7abd4ad2520839b9f10e93ef6b6

View file

@ -5,4 +5,7 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="gitlab">doctormo/python-crontab</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,26 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Crontab module for accessing system crontabs"
HOMEPAGE="https://gitlab.com/doctormo/python-crontab"
if [[ ${PV} = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/doctormo/python-crontab.git"
else
HASH_COMMIT="ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0"
SRC_URI="https://gitlab.com/doctormo/python-crontab/repository/${HASH_COMMIT}/archive.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
S="${WORKDIR}/${PN}-${HASH_COMMIT}-${HASH_COMMIT}"

View file

@ -0,0 +1,26 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Crontab module for accessing system crontabs"
HOMEPAGE="https://gitlab.com/doctormo/python-crontab"
SRC_URI="https://gitlab.com/doctormo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/croniter[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest