dev-python/croniter: remove olds, cleanup, enable pytest
This commit is contained in:
parent
08e78361cf
commit
2d7633f735
@ -538,11 +538,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1655 Ebuilds in total, 1648 of them have in total 1660 (35 different) licenses assigned.
|
||||
There are 1654 Ebuilds in total, 1647 of them have in total 1659 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|984|
|
||||
|MIT|983|
|
||||
|Apache-2.0|322|
|
||||
|GPL-3|100|
|
||||
|BSD|94|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST croniter-0.3.34.tar.gz 25508 BLAKE2B 90a933d1609b37f6620b09f19dc7790a98359a3fa62673120c3ed6095abd87d23157a7d6907c5bc67ded9714b3fdd1495bf9b7fe536f049d689af9b79e8ea5dd SHA512 def62c677ceaea4566f00585ae91b1f0ac10e92e088b1f7e8c6f1f6a2820dd18d137b9bda64fcc249addbdf009e2773cdbc1f4ec61d625cc7e8e6077c804bb2a
|
||||
DIST croniter-1.0.6.tar.gz 30489 BLAKE2B a3caf1d0606dbec7a978e5089b08bf6edb13533524f5a3f1639483547b14a83f099276f4c63e9b84031202c088a8237326f70ecaca0bf3503f4a33173ce0d358 SHA512 1ca37c7dbd6a7365db112ccd474d76babc890aad1e2c341677be13c4f4e28a98219266efc065442e2077588a36b60c01d8e2996f0a32def690cf49e2c7c584bc
|
||||
EBUILD croniter-0.3.34.ebuild 819 BLAKE2B 859da1b0ab257a98f70053ecb1aa711531469f8c057a5a046ded69f1f072626041a76a159539e2f393c6b8d87bb51a50dfd038b5bbbdf6c6e1bca8ad53f1e5aa SHA512 ae37885b4f18291d09631dc2dae30cd7a29a7cc1734a155244e3eaad8a52111676614bb48ef1c9564d86f6047b5d42d7db7eb8b16506d49cae111d55a520518a
|
||||
EBUILD croniter-1.0.6.ebuild 861 BLAKE2B b78c7cd7041628021d587b024389de4b82a68bee4d5bd53028726e49f257577ef99e8d99ad94ffdb20841f74432c0d2017e7981ee612d16e95e36201f2368431 SHA512 c9c7d6549cbd8360ee1c26f6f9df1a82811480f99ce33d2df1cb228ed39ac7b4561c284f4fd20cba7e0a52df6cc3c80a8e136fbe662bb99dbba38678b082735f
|
||||
EBUILD croniter-1.0.6.ebuild 866 BLAKE2B 2f198e917d33be7921ee485f0ccd0a10a50451ae8fb4de397c65094ac98af82dff7e9e359468749da9e5c1942ad983a8c542b81e40b63e921a03704a78a76da1 SHA512 b8eb50b1a13713e21ff6954dda2de17ab7210791f611b41f6cc7257ea72a98184cda67a9b226138ae977a8dc37cc999d8a5de5c98b007b26a31a4eadd37279f2
|
||||
MISC metadata.xml 486 BLAKE2B 9d8d6ed25616ad9003ab6dd2abd0f27afb7e846538f501ada9f9bc3d70d21ebbab256aa4e077aacd1987f6f6235dcc2788a0d8112942cadbe83a5d4826ecbfd4 SHA512 d22922a5467d1be2d5037ebb70c3d067c114081de8d1bfc61194f030684cbc353d23ebeb5c9d29322ae5fe5668a5be4ede7da0e1da7f8f1b9357ded11cf9136a
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module to provide iteration for datetime object"
|
||||
HOMEPAGE="https://github.com/kiorky/croniter https://pypi.org/project/croniter/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/natsort[${PYTHON_USEDEP}]"
|
||||
python_test() {
|
||||
py.test -v src/croniter/tests || die "tests failed"
|
||||
}
|
||||
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -33,3 +33,5 @@ python_test() {
|
||||
py.test -v -v || die
|
||||
py.test -v src/croniter/tests || die "tests failed"
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user