From 5699561f5b9df95a2387346d4ead94ab827c6bba Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 25 Oct 2020 09:06:45 +0100 Subject: [PATCH] add pynumparser-1.4.1 --- CHANGELOG.txt | 1 + dev-python/pynumparser/Manifest | 3 ++ dev-python/pynumparser/metadata.xml | 15 +++++++++ .../pynumparser/pynumparser-1.4.1.ebuild | 32 +++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 dev-python/pynumparser/Manifest create mode 100644 dev-python/pynumparser/metadata.xml create mode 100644 dev-python/pynumparser/pynumparser-1.4.1.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c03ae4238..9abae8116 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -14,6 +14,7 @@ * add proto-plus-1.11.0 * dg pycountry-19.8.18 from main repo * bump elkm1-lib-0.8.5 + * add pynumparser-1.4.1 2020-10-23 homeassistant-0.117.0_beta3 * bump home-assistant-frontend-20201021.2 diff --git a/dev-python/pynumparser/Manifest b/dev-python/pynumparser/Manifest new file mode 100644 index 000000000..5e7adb993 --- /dev/null +++ b/dev-python/pynumparser/Manifest @@ -0,0 +1,3 @@ +DIST pynumparser-1.4.1.tar.gz 9520 BLAKE2B 16e66eb08859445140874f6e9874bbefaabe8095337d63b99fd4b63161706119217fba2574622592e032e93e9cbf977c04f9b910e742945616ea59b11de2a20d SHA512 d8ce7697e4ab73148995192e8a9e229b2a6becba3ec05b0d41e88c4cda697c3c55644d2083116ca22f1d571b62dc77704e67d8579ac05a180edb0599f6d326ce +EBUILD pynumparser-1.4.1.ebuild 866 BLAKE2B a5437bb98703390d9a88ff1f44f819544054e624508e16d48f2016e817aba8e80fb7ba0c01c5b0c3eabafafc20974321ca3c9d7aec8b6c8d6f63098254cd5869 SHA512 d0b24fbace9ad8e6a3b49e3f780a025c8dcaae0736b582da2c8667e38ae47a1f68fbbc0d93845906db536d21febf58c2098d9a12687351982cbca2acaaa49c1f +MISC metadata.xml 456 BLAKE2B 315cd74056e5b0919ae236dd71440f1558dceebc0edc619df9f61899d9792fd3e5f14629b6310bcd94aa7b53c150ac6bba3a783631fd6060a75dfa95097c5f45 SHA512 3b3232f096ed0bcd00eaa3b93499c0f7232447ac56f84ba12edcecc4f0b1373cc81a10bd7f621d203741ff5a282f48f8cd0c18a0da2c7a20ff4d6ba0a3e679cb diff --git a/dev-python/pynumparser/metadata.xml b/dev-python/pynumparser/metadata.xml new file mode 100644 index 000000000..267762b7f --- /dev/null +++ b/dev-python/pynumparser/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pynumparser + + nvram@users.sourceforge.net + NVRAM + + + diff --git a/dev-python/pynumparser/pynumparser-1.4.1.ebuild b/dev-python/pynumparser/pynumparser-1.4.1.ebuild new file mode 100644 index 000000000..c5ade8f5b --- /dev/null +++ b/dev-python/pynumparser/pynumparser-1.4.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) + +inherit distutils-r1 + +DESCRIPTION="A library to parse arguments of numbers and number sequences, usable directly or with argparse. Allows concise representation of contiguous or non-contiguous sequences. Example: 1,5-10,40-50/5,200+100/25" +HOMEPAGE="https://gitlab.com/n2vram/pynumparser https://pypi.org/project/pynumparser/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DOCS="README.rst" + +RDEPEND="" +BDEPEND="${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 +}