add py-nextbus-0.1.2
This commit is contained in:
parent
2ede732214
commit
ab61671d98
3
dev-python/py-nextbus/Manifest
Normal file
3
dev-python/py-nextbus/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DIST py-nextbus-0.1.2.tar.gz 7618 BLAKE2B d909389b6ec1320836739b62ded6711d46eb1f09152fa9f315ac1eb00a64cd48704e8322317e6c5187029d26671ea5dc436f5913a855f21d6fda7df44459dbee SHA512 116f3d48e8e9c1a1af00db8063cf10b869febab7627f2f70b4d7abc88fcff1f561e97ed21a7de9395584dd2135557b3cd170ffaa5e2e45f6e9a4ec85967ad6f4
|
||||||
|
EBUILD py-nextbus-0.1.2.ebuild 985 BLAKE2B 9e8e5e9550b996052b2d19ec9f1404e81495d6e5a48dc34077e1e8061154e1aa07a8285d873b11d7ebebb434d44816cb1c9ca3ff2806e29b4df525c136fea8c0 SHA512 950f0eabf955f97274d1a2cc096d0e82089748e7503f02fed51ef080a8a7b7cf724740a8d7d8e1263088fa9d9138b5c86aa4f81289a841c293b9eb3cfb6323e4
|
||||||
|
MISC metadata.xml 336 BLAKE2B 99d03f4ad21db3e9cef365e9506ed9cfed1800ad3eb3d99ce37b6481b0f6c310c1143249eb4c28a211429d7fc8fb30fc25e5d3a7f1ee0146fb9b5dac2ef4cbcc SHA512 23045e0d04dc65d68273faffed8ca670b389adc0363ee3aa739d548d051e32fca902f74b594cd7876381e7f2b9f6db8bfd8ee8049c55520655f6c221c0b5c19b
|
12
dev-python/py-nextbus/metadata.xml
Normal file
12
dev-python/py-nextbus/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer>
|
||||||
|
<email>b@edevau.net</email>
|
||||||
|
<name>Andreas Billmeier</name>
|
||||||
|
</maintainer>
|
||||||
|
<herd>python</herd>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">py-nextbus</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
34
dev-python/py-nextbus/py-nextbus-0.1.2.ebuild
Normal file
34
dev-python/py-nextbus/py-nextbus-0.1.2.ebuild
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||||
|
# Distributed under the terms of the GNU General Public License v3.0
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN=${PN//-/_}
|
||||||
|
MY_P=${P//-/_}
|
||||||
|
DESCRIPTION="Minimalistic Python client for the NextBus public API for real-time transit arrival data"
|
||||||
|
HOMEPAGE="https://github.com/pmaris/py_nextbus https://pypi.org/project/py-nextbus/"
|
||||||
|
#SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
SRC_URI="https://files.pythonhosted.org/packages/f5/04/6a23b5c057ae74ec3da48fbc008d6bae489f64db39c19c6ede94da9aea57/py_nextbus-${PVR}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE=""
|
||||||
|
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}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_PN}-${PV}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests --verbose || die
|
||||||
|
py.test -v -v || die
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user