dev-python/pycfdns: remove olds, cleanup, enable pytest
This commit is contained in:
parent
502e32d164
commit
f2611c5c22
@ -547,11 +547,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 1563 Ebuilds in total, 1556 of them have in total 1568 (34 different) licenses assigned.
|
||||
There are 1562 Ebuilds in total, 1555 of them have in total 1567 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|924|
|
||||
|MIT|923|
|
||||
|Apache-2.0|309|
|
||||
|GPL-3|95|
|
||||
|BSD|89|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST pycfdns-1.2.1.tar.gz 3929 BLAKE2B 6ad0a7649284999f363cbb63cd559be8a14a53ad7520309ab59469ee791ddc7d806949c5d2e7577838ebbbc48e6a985792ea6979142f882f27372847dc7d9a9a SHA512 aa5e9bd2f5b4f62cdf63ea7faa45f40bf569d7f02522f346423e25d59e606f18468d3f6502b77f8520a897e8f7e37447d059d52022518a2006f1ba3c1658defe
|
||||
DIST pycfdns-1.2.2.tar.gz 4503 BLAKE2B 486316c29fc0f4b6ecbabca91d58bf77a1ba1777b7cae4c0c5be7f77969897ae648e0d4995b6577aabb73cd1822d5e0c1e4854b2e00de58420957c64dcad00f8 SHA512 d97da19d289595221ceaba4b01546e6464a7afed66672f2a03047d4442be24d5adb9b60c7d2058be81f6a273ee4fd0d70b053e30bd84885d31e56d7965668ee1
|
||||
EBUILD pycfdns-1.2.1.ebuild 746 BLAKE2B 3d0de35de8e7bef1cd4dd14f309cca579a97aa20696fc496814b3490316c5d53d6fa0f14b8517a3da34e80874dd978bf53cf0bd1edf8c07781a11d9d99be3fab SHA512 c4690cee92aadc8a86cf62acb8eb08cf6d6077e020c2a6bf920dc3fc0228e4232bc07992b9a024bc5538929fe1cf1c3cbe824f67a04effdbdda0d3ef6cb4097e
|
||||
EBUILD pycfdns-1.2.2.ebuild 751 BLAKE2B 1a006f77aeef957100afcee1bd450bbfcd105be75ccf193f4d2b73fe0bd861881a9ec985655625fc169cd012acb8b9c74fe80237fc71b9c4b702152793da3174 SHA512 7d25fcff1f5480d5fbbed752902963c0de356681febf8a45f7f8ed6a9e5eb4ab566ba6bfe780701dc130c8f32b71ebe3d54be0538c489990f760b09bc36a93c5
|
||||
EBUILD pycfdns-1.2.2.ebuild 754 BLAKE2B 5053e859784ec62a01b1b0b3153b816109963f545c83f51faa709c2af88d04a3303f7fde752ed235627b930b7ed2084f91d0e1b24e062ca6324bdb41d3c3ff0e SHA512 0c9056c09dadb60d432564fc231ef3da6cec475c4122be886d52aa89100a2da10398edd4c9ed40cb69f24ead3e95e20bef126f652a14a51900ce8c647b99b8f0
|
||||
MISC metadata.xml 449 BLAKE2B fa529d394f90dee33781cf9665ed17b911e89dce1bfa7a05e2fb58f5b2305c9ae3778b4302357b1a0ec2286b303b3b6b056b4f39b41e2e5d052142fb90b986b0 SHA512 287a34673daa523858957a64bdfe51340f22a71b3c649d7b2a93025b5a12444c1f280cf4ed1f32d0ea919d3eceb10998971f671074d3e29f1ca72f3e3cb21d2f
|
||||
|
||||
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Update Cloudflare DNS A-records."
|
||||
HOMEPAGE="https://github.com/ludeeus/pycfdns https://pypi.org/project/pycfdns/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
@ -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=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 )"
|
||||
|
||||
@ -31,3 +31,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user