add volkszaehler

This commit is contained in:
Andreas Billmeier 2019-06-22 08:37:27 +02:00
parent 7bb0ced1b3
commit 6fabf11613
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST volkszaehler-0.1.2.tar.gz 3699 BLAKE2B 993eff6937061f7f17bdd847b6afb49b21743cb36c94fcb216c8cecb1838b671c608543a10a0d4a2b5f01fe0670d30d4cee79bbf54eaa661789b83cfeecb501c SHA512 3edc8ab89c5b5203e31b11fece53eecb4b9ac90ff8cb552076c8ef4015f49de2d6ff98c8a0da2acb297a7d326f34d05db84815a92826c7660ee1138aa4301c3f
EBUILD volkszaehler-0.1.2.ebuild 740 BLAKE2B 8c76c6db08638d02234ac255d242600dff9f1cc277be2c1021459cb5f91be55390c463c4775e78b1911d1624ca731062ad8d3f5037358f67e9e902f1ddf90bb9 SHA512 4a75d7946f5dbad11761eb96ca103c79f0be21f1a40a33da1cd3de6f8cc8785b78596cb27be2ae347eed4a5c601636872bc43c15a77bb1e99d54a7e735d01506
MISC metadata.xml 477 BLAKE2B 616f7a38b6811230bf5a7536a4cd6bb53db9ca474646d03ef698e7d581210231824dddac4e0fdb8b4a1b44e87927c002c71a73a479a8260627150104274aea21 SHA512 cf751bd7fe8c2ac7455b73ce192762d6f8fc5b20e78c4834d50cccdbaf72c8ca1ee6b692677e2a95d8a6addc246fe63166189559db8c13a267e3e0a98467df86

View File

@ -0,0 +1,16 @@
<?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">volkszaehler</remote-id>
<maintainer status="unknown">
<email>fabian@affolter-engineering.ch</email>
<name>Fabian Affolter</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# 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
DESCRIPTION="Python Wrapper for interacting with the Volkszahler API."
HOMEPAGE="https://github.com/fabaff/python-volkszaehler https://pypi.org/project/volkszaehler/"
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
}