From 1a057a789cdbd3f020c5011ffc41b0e35ed86a54 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Fri, 22 Nov 2019 18:47:25 +0100 Subject: [PATCH] add pycountry-convert (for sucks) --- CHANGELOG.txt | 1 + dev-python/pycountry-convert/Manifest | 3 ++ dev-python/pycountry-convert/metadata.xml | 16 ++++++++++ .../pycountry-convert-0.7.2.ebuild | 30 +++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 dev-python/pycountry-convert/Manifest create mode 100644 dev-python/pycountry-convert/metadata.xml create mode 100644 dev-python/pycountry-convert/pycountry-convert-0.7.2.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4b75b5eda..07ad4b78c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -62,6 +62,7 @@ * add pydukeenergy-0.0.6 * add pyebox-1.1.4 * add ecoaliface-0.4.0 + * add pycountry-convert (for sucks) 2019-11-21 homeassistant-0.102.0 * bump homeassistant-0.102.0 diff --git a/dev-python/pycountry-convert/Manifest b/dev-python/pycountry-convert/Manifest new file mode 100644 index 000000000..e74fbef3b --- /dev/null +++ b/dev-python/pycountry-convert/Manifest @@ -0,0 +1,3 @@ +DIST pycountry-convert-0.7.2.tar.gz 12376 BLAKE2B b6e173da2df532a12f7a0965aec0228e8e1189bb2bed79031bc4310b3d23300b67fa461fb2a99fef90752183e81a3c347538d836a24ca9dc3f30ca625a758307 SHA512 5010668fcc20e70e035464d69caa0cc3235bc3d913cb0ec759267395ca25d6ffe36800f5c0efc380e0d52c5e7eee35d31471b847072f5253b884a49dfd35a4d7 +EBUILD pycountry-convert-0.7.2.ebuild 717 BLAKE2B 73e5096a8f18ed7f51685cc037a95bc12b5a7c837de4cc821da17ad0cd4421498efe692b75dfa662ecb4a5ba88635a519e2e028d73b38c1b3c09b4e80c27c2dc SHA512 198aa081fd32304f855072f8da0e63bc176663dae058b8bed0bffdb5d85713a139769289f4113ee83d5baacf4b555a4c3ee21823ace584c0c0b337f5cfedab09 +MISC metadata.xml 460 BLAKE2B 70daa98a0acd6b5ce88e70ac829cc1eba1bdb8aa7088f6ef792726980b10b56b47e5374177b73d16fd4f9ac7babc371ce8ce8014de8a0c2150594e2953b8213c SHA512 e36123bd75cb3fa0b368b73e53c38e37f2d5913509dccbe4cc15d1f400fdddfa0cc5abb90e2f441dd28462c8200a718ae2da0b0e97994f79537a39a319ec76f7 diff --git a/dev-python/pycountry-convert/metadata.xml b/dev-python/pycountry-convert/metadata.xml new file mode 100644 index 000000000..1211365bc --- /dev/null +++ b/dev-python/pycountry-convert/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + python + + pycountry-convert + + jefft@tune.com + TUNE Inc. + + + diff --git a/dev-python/pycountry-convert/pycountry-convert-0.7.2.ebuild b/dev-python/pycountry-convert/pycountry-convert-0.7.2.ebuild new file mode 100644 index 000000000..581dbf812 --- /dev/null +++ b/dev-python/pycountry-convert/pycountry-convert-0.7.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Extension of Python package pycountry providing conversion functions." +HOMEPAGE="https://github.com/TuneLab/pycountry-convert https://pypi.org/project/pycountry-convert/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${REDEPEND} + 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 +}