dev-python/py-nextbusnext: remove olds, cleanup, enable pytest
This commit is contained in:
@@ -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 1568 Ebuilds in total, 1561 of them have in total 1573 (34 different) licenses assigned.
|
||||
There are 1567 Ebuilds in total, 1560 of them have in total 1572 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|928|
|
||||
|MIT|927|
|
||||
|Apache-2.0|310|
|
||||
|GPL-3|95|
|
||||
|BSD|89|
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST py-nextbusnext-0.1.4.tar.gz 4217 BLAKE2B b8843928f5c6fb6bfa5177c7147527ba1241b33f4f49d5a1387f6350315ed1b8af4e1083f7fcb1f328da6c042ba9f04f31010379e207de2b3114848a80e49cf0 SHA512 0edd843a3accf1d0600efaa485fedeefadebe27fe43920bd39f9091dd1505d29e9096eddf4eac1fc75a9c5d40b1ce207eadf5b134eda2bcb0d9cb51c9bb543d7
|
||||
DIST py-nextbusnext-0.1.5.tar.gz 4390 BLAKE2B f4cf3d8c8fe87274af5a47175608c5c137c3411feebd6a794542e73ccf20a0620c946662421f65d7ce5aed0fc62fb6690cb0a37e2b3fda688e03564f4e6ec467 SHA512 d8f2d30ebded8955d30270cacac733c8c241d00896fe5b8c14f71922817c889b8317cdef11124a8c8fb28ac37954ef98477902faa659e52303e3adae424e9ff2
|
||||
EBUILD py-nextbusnext-0.1.4.ebuild 821 BLAKE2B 7bf0fac07f7213a876bbef7a5eacbee18c266afa7225c68218bd24f8a5594b7edca91b3cb09216018930f15ed4e69baae19f1ac24651ad502868012f1f2861c5 SHA512 cc0f184df5fa6e2f870328ae38482957588e7967e7727fad1891ef59691a7a9178068b6bc59a805dd6f5721e4cb1f54094ad89075cc3cf4f4f83393d06470d93
|
||||
EBUILD py-nextbusnext-0.1.5.ebuild 851 BLAKE2B 27ff68a6fa1428be6b96e5208de55e2b0b7c42d9f7767e84b8088c5f561d1ff7a255b653a9a83d53d71e9b7123ec627c89824f5d8291af192ebf5e67b69180d0 SHA512 7a458ff7ce34544aebdf8c388adf895da8229e5733a65524d1f9af4d727ecc9fc245db1281138fd3ec03820c47b00b9810fe84aa8d7bfa75c3c5b68a6af5ba9d
|
||||
EBUILD py-nextbusnext-0.1.5.ebuild 854 BLAKE2B 2e0a084d62dea4a82f9619df4554a2db9e300f73db2d6adaf4fd3ec958fab2115a5a1bffdc844d6994726b189013a74efb8e58ba8b5603e742779075ea547b66 SHA512 f1804cd9c35522969ba5c605cce0ca04d988344e44a06f4eac023d35cc29ef38fca8e51d7b5513f5042e6f67225245526de2ebd56426192185e45dd3b75d6f72
|
||||
MISC metadata.xml 333 BLAKE2B 2482111fc2b09440606801c067e150843ba091b5ba43581e0aea6610b72d33555de18c012850e4a9dca3d2c305bb6c70e64da71cbea7264852b074abcf655882 SHA512 e36ddb75b0834d7323e44ec206b7d61557d3062132905ad33c9f950acec1af45d8e0ffe2d2dc2c521fc1dce544d3dabb2482e021fa6c06f310ae7f9201d02706
|
||||
|
||||
@@ -1,34 +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
|
||||
|
||||
MY_PN=${PN/-/_}
|
||||
DESCRIPTION="Python client for the NextBus public API for real-time transit arrival data"
|
||||
HOMEPAGE="https://github.com/vividboarder/py_nextbus https://pypi.org/project/py-nextbusnext/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
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="7"
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
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() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
Reference in New Issue
Block a user