diff --git a/CHANGELOG.txt b/CHANGELOG.txt index df7b0eec7..019e442fa 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,5 @@ 2019-11-22 + * add pyirishrail-0.0.2 * add pyipma-1.2.1 * add PyOTA-2.1.0, phx-filters-2.0.2, phx-class-registry-3.0.5 * add georss-ign-sismologia-client-0.2 diff --git a/dev-python/pyirishrail/Manifest b/dev-python/pyirishrail/Manifest new file mode 100644 index 000000000..de45b1e7f --- /dev/null +++ b/dev-python/pyirishrail/Manifest @@ -0,0 +1,3 @@ +DIST pyirishrail-0.0.2.tar.gz 3945 BLAKE2B 8527af2883ae4a144e98102723fdec21c4b51efebf1f4e0bed4337154e7b4fca6350dd292d8e57ba0b7fccf8f7cac9460cbcd8ff26b94fe5e02c42a73306487e SHA512 857208ec8b91c9dca72e8434d32995d26a9e776c78548a3dabd07d7441c3be133e8a4fe159bf2915610c9f3bc738523c856f120c912e143741ec193f21d6c81d +EBUILD pyirishrail-0.0.2.ebuild 753 BLAKE2B 7c2bae62bc5676ed5ef33f64d43c85c141df60951468fd28269545ab4e57d4d8d2906a054dbfcbf32dbc0cc1c717fc12c0e6ebc71c93dc61419721a67d964f2b SHA512 3ad622213a50c630663e804565257ce5241d25f619125e92e603e98f65eed71583ea3627f44b5234146267158199e727b7053523641d12b85d3c4cb3ba255980 +MISC metadata.xml 457 BLAKE2B 1816f37ca95a47acf2e59a2880d30e105f11e202c6b8ddfda807bddb87fa2fc516b5bc46da0a3291d8359a909fc4ff47890188e96ad10fd42623fabace98ffda SHA512 b24d9f317cc9db88222ae2b3285fb5badca94fe742d49e9f17867a72413f29c579dc471941f1b4d28013e6be9491e5b8d4f3fddbff667c6345847693462058d6 diff --git a/dev-python/pyirishrail/metadata.xml b/dev-python/pyirishrail/metadata.xml new file mode 100644 index 000000000..93208f765 --- /dev/null +++ b/dev-python/pyirishrail/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + python + + pyirishrail + + ttroy50@gmail.com + Thom Troy + + + diff --git a/dev-python/pyirishrail/pyirishrail-0.0.2.ebuild b/dev-python/pyirishrail/pyirishrail-0.0.2.ebuild new file mode 100644 index 000000000..60209f2de --- /dev/null +++ b/dev-python/pyirishrail/pyirishrail-0.0.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="Python library to get the real-time transport information (RTPI) from Irish Rail" +HOMEPAGE="https://github.com/ttroy50/pyirishrail https://pypi.org/project/pyirishrail/" +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="dev-python/requests[${PYTHON_USEDEP}]" +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 +}