dev-python/pycountry: remove olds
This commit is contained in:
@@ -538,7 +538,7 @@ 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 1916 Ebuilds in total, 1909 of them have in total 1921 (35 different) licenses assigned.
|
||||
There are 1915 Ebuilds in total, 1908 of them have in total 1920 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
@@ -553,7 +553,7 @@ There are 1916 Ebuilds in total, 1909 of them have in total 1921 (35 different)
|
||||
|all-rights-reserved|15|
|
||||
|BSD-2|13|
|
||||
|Unlicense|7|
|
||||
|LGPL-2.1|7|
|
||||
|LGPL-2.1|6|
|
||||
|EPL-1.0|5|
|
||||
|LGPL-2.1+|4|
|
||||
|public-domain|4|
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
AUX pycountry-20.7.3-fix-tests-for-pypy3.patch 740 BLAKE2B 64113481df5b7fb385604f16d7b3be066a12b6a5e1dab38cdf879101da132bcacf407fdf773d5f15381789114be265c7e1ee3ab880c38dae6e904e6820923ee5 SHA512 0df7756ac4d3dd3ccc409307f21a95021c93851ad3b6ce07ce244eade4957d9906dc6aaabdbafe671cf6f9619623cdd22097119642c0c926376e4991eb6a1a4f
|
||||
DIST pycountry-19.8.18.tar.gz 10003160 BLAKE2B ac7894e9fc1ed4e8f386cc6e07c1fc2abefee63c39c7c851c100519418606b52bc18be8da672930ceefdc7ca7b51571e4b3884ea0c20e547e5b596e249ebf407 SHA512 39ba06629eeea55460424d06992ca5f1e5bf6168b219dc4880ec326f6aa0c92a4fdc54d4143a8b8bb1490149af793e760e291c6d704104a57ba91e88228ab669
|
||||
EBUILD pycountry-19.8.18.ebuild 1020 BLAKE2B 7cd665572144a17c939912c41d37f6a607f1e82cf1b85488e69b8772a3bed1a3f31bc8b69e29acd9ed0f7499105d7d0fd3212520fb7e1fb63a7ae48b97ff84e1 SHA512 d344949c6c7f48d51a801cb0cca29401ca1cfe60cc342d03ef998b2f934d412cd4f812d172ddddcf005a866ccb89141f4b8c66ed4ba66a07c66339aa053a87a8
|
||||
MISC metadata.xml 456 BLAKE2B befa43e67c2d5968baef6d11e3dfc0ce5885cd772bd74c27b2d547ed8a76a94ff174c1fb313e6defb597cdc27cf7331d71538e045fa879ff8df7ab34f665abef SHA512 a50eaaed8b9048374e7516fac71674f599112d0dfa1e0f5337f57b7c9fdb9cdceab66ce1eefa06ddc1d3c64a033f9d97508ade3eb7788156ae6587a4849a9ab8
|
||||
@@ -1,21 +0,0 @@
|
||||
commit 57a64b69704640bd85270d886c369ef5a31eee80
|
||||
Author: Louis Sautier <sautier.louis@gmail.com>
|
||||
Date: Thu Sep 17 13:01:07 2020 +0200
|
||||
|
||||
Do not rely on CPython-specific __builtins__ for tests
|
||||
|
||||
This makes test_locales pass with PyPy3.
|
||||
|
||||
diff --git a/src/pycountry/tests/test_general.py b/src/pycountry/tests/test_general.py
|
||||
index ea697ae..ad1090f 100644
|
||||
--- a/src/pycountry/tests/test_general.py
|
||||
+++ b/src/pycountry/tests/test_general.py
|
||||
@@ -149,7 +149,7 @@ def test_locales():
|
||||
german = gettext.translation(
|
||||
'iso3166', pycountry.LOCALES_DIR, languages=['de'])
|
||||
german.install()
|
||||
- assert __builtins__['_']('Germany') == 'Deutschland'
|
||||
+ assert _('Germany') == 'Deutschland'
|
||||
|
||||
|
||||
def test_removed_countries():
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pycountry</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>ct@flyingcircus.io</email>
|
||||
<name>Christian Theune</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,36 +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} )
|
||||
# The package uses pkg_resources to determine its version
|
||||
DISTUTILS_USE_SETUPTOOLS=manual
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Database of countries, subdivisions, languages, currencies and script"
|
||||
HOMEPAGE="https://github.com/flyingcircusio/pycountry"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ~sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
# https://github.com/flyingcircusio/pycountry/pull/51
|
||||
# PATCHES=( "${FILESDIR}/${P}-fix-tests-for-pypy3.patch" )
|
||||
|
||||
python_test() {
|
||||
# The package uses pkg_resources to determine its version
|
||||
distutils_install_for_testing
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user