From 7a1dd10dfbb776502cd59fd1647e9fd35ce40f2a Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 16 Oct 2022 18:34:38 +0200 Subject: [PATCH] dev-python/PyNINA: remove olds, cleanup, enable pytest --- README.md | 4 ++-- dev-python/PyNINA/Manifest | 4 +--- dev-python/PyNINA/PyNINA-0.1.7.ebuild | 33 --------------------------- dev-python/PyNINA/PyNINA-0.1.8.ebuild | 6 +++-- 4 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 dev-python/PyNINA/PyNINA-0.1.7.ebuild diff --git a/README.md b/README.md index aabc3bce4..5889f80a9 100644 --- a/README.md +++ b/README.md @@ -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 1541 Ebuilds in total, 1534 of them have in total 1546 (34 different) licenses assigned. +There are 1540 Ebuilds in total, 1533 of them have in total 1545 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|905| +|MIT|904| |Apache-2.0|308| |GPL-3|94| |BSD|89| diff --git a/dev-python/PyNINA/Manifest b/dev-python/PyNINA/Manifest index 33c6a8ea9..f069ffdee 100644 --- a/dev-python/PyNINA/Manifest +++ b/dev-python/PyNINA/Manifest @@ -1,5 +1,3 @@ -DIST PyNINA-0.1.7.tar.gz 4153 BLAKE2B 3babe8a1f2cfa0dfe8561622f43320b150d3f041fb1a6119220bd518194d2051d5f71106ade35d4d5da00a7aa5deaf5dfe278cbfaf2c28429920c3f36744dae7 SHA512 1e9744e0f2d4b6f0d4cce68567ca235158648df9c3ad6dcf8b90628875352b78e1a9ea755782daeebec65415d5309b62f50894784e0034d0b6da980d5263c20e DIST PyNINA-0.1.8.tar.gz 7646 BLAKE2B 6074249de420b76bbb822e12f760367d389cd7ccbad58f35ac7e0119263119494e8b1083ebb21e4bea8d7da00896755e9ae3ca9d2e5400b6d20b9915271da136 SHA512 ec7a7cdd68cefb6753d9006f4acd23146c25dcc90e6570260c5dddca337fb2266c5e7bcbda4597634813670186fb4c07c7537bb60bb85fcdc3c1c8c17ecb40af -EBUILD PyNINA-0.1.7.ebuild 784 BLAKE2B 2fd408358e9d6c6ee91d3a1b5617e71eafcb07c5c5eaa6749cc38864a7594bff6fbb83ab40357f8ce1841429c9fad92b1d1eb0acd74b0c85cb2e5cf96e0d91ec SHA512 b0e588d34221276e900f5b301d29fb625724110c263d84b9da9e7a333e7e94a23307e7bb67be91f7ef6d360712fd4bb5cdb7544cfac7cae48eedfc9e2082f18e -EBUILD PyNINA-0.1.8.ebuild 784 BLAKE2B 2fd408358e9d6c6ee91d3a1b5617e71eafcb07c5c5eaa6749cc38864a7594bff6fbb83ab40357f8ce1841429c9fad92b1d1eb0acd74b0c85cb2e5cf96e0d91ec SHA512 b0e588d34221276e900f5b301d29fb625724110c263d84b9da9e7a333e7e94a23307e7bb67be91f7ef6d360712fd4bb5cdb7544cfac7cae48eedfc9e2082f18e +EBUILD PyNINA-0.1.8.ebuild 791 BLAKE2B d9143ae31972e414a593c8101ad72a976e5d2866f5e5adf45ca4a11b0631ceb5a6089513d447be4e7b5537387e3ae044e2bfd1a5e5982071a3c706da9cccdb2e SHA512 13dc289654a7ac7bd971230ce598778c6dd1a2bde4aacc46a96c827d94d1ddae2ae092ce6c8972fcab426efb5e3e0cdd5891f301dc52571054624af3ea840456 MISC metadata.xml 454 BLAKE2B 11d3f1ce75a93dcb00c6e2f79296fea072d51f6d6e29a615e0528f7c89e08f8e2adc714882991187bc9542c3a1fb57692c582916cf8e99722f82c58a261b8b86 SHA512 6c24ee187913ebbc5b27c4b820860f22d6c728af808c76d9dcd4a575862f32ac94a95e56a7a1c76bb34e27340ea2c953515eb26ea74cb35e8946a7dcb05fe9fc diff --git a/dev-python/PyNINA/PyNINA-0.1.7.ebuild b/dev-python/PyNINA/PyNINA-0.1.7.ebuild deleted file mode 100644 index 1c8a07ea8..000000000 --- a/dev-python/PyNINA/PyNINA-0.1.7.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="A Python API wrapper to retrieve warnings from the german NINA app." -HOMEPAGE="https://gitlab.com/DeerMaximum/pynina https://pypi.org/project/PyNINA/" -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/aiohttp-3.7.4[${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 -} diff --git a/dev-python/PyNINA/PyNINA-0.1.8.ebuild b/dev-python/PyNINA/PyNINA-0.1.8.ebuild index 1c8a07ea8..ffbc14d86 100644 --- a/dev-python/PyNINA/PyNINA-0.1.8.ebuild +++ b/dev-python/PyNINA/PyNINA-0.1.8.ebuild @@ -3,7 +3,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 )" @@ -31,3 +31,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest