use git for pyrainbird-0.4.2, fixes #177

This commit is contained in:
Andreas Billmeier 2021-07-13 20:44:10 +02:00 committed by Andreas Billmeier
parent f9e4c6a9fd
commit 5bc36e0c40
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 9 additions and 47 deletions

View File

@ -1,5 +1,2 @@
DIST pyrainbird-0.4.1.tar.gz 11090 BLAKE2B 667da2c78b90a9c75a9cb8bac99f0ac5a63ef017934f5cf9f7874f4a985e8b3fa241b32bcc3ad36920385804f73a2c3573988297467e2afd35993b66e1473b5e SHA512 1710149bc495062c14a7d3e55c1f45ee6119576fc8982deace7170f196f54cbe1757b78e34fcd58ad7c9bc0bf5d6be72965ead7ae2b4931cb3194004f7e41f59
DIST pyrainbird-0.4.2.tar.gz 11430 BLAKE2B 62c1503a784e7bc57270ee9c5511ee8c31323cf57bc8ac31c371efe7c3a048081a31c88983f29b7cee668b19d72fcd15f7f042ae5d5a57771b55652f9095445d SHA512 ba248fe10898ceae20defe1d23cc4e20ff205789b9f7b13e399d35ca61daced5cec9836152efd8d6d979a18743decad59bc2ada04083d22e74dc72a1c40af380
EBUILD pyrainbird-0.4.1.ebuild 1006 BLAKE2B 1d66579320de13c18d9e4d119f287585b5bfcbddd8ae1e4f31609d321591f915048e257dad657ddecd58739483b8a7800f6e8662330f6142e153702e96282bfc SHA512 3ad4f5f553a65aeebbe6d1f494516e7b05ac21f73da7d24c2834bf9a685e0cade6dd8a8aecfe5dea853b3bc4c1758cd5ce7032e283047a7d58ad8f3cf85616e8
EBUILD pyrainbird-0.4.2.ebuild 1006 BLAKE2B 1d66579320de13c18d9e4d119f287585b5bfcbddd8ae1e4f31609d321591f915048e257dad657ddecd58739483b8a7800f6e8662330f6142e153702e96282bfc SHA512 3ad4f5f553a65aeebbe6d1f494516e7b05ac21f73da7d24c2834bf9a685e0cade6dd8a8aecfe5dea853b3bc4c1758cd5ce7032e283047a7d58ad8f3cf85616e8
EBUILD pyrainbird-0.4.2.ebuild 1150 BLAKE2B 1d39a2d75d9fdf0bc7f5c4fc02b55c3292d67d6bde47b13c7ca2c4c7a742202d9e84fb016998c897efdd6e1487e76793a00cdcf49157236a9825b4f9bdb9814e SHA512 01107751c53aec723a49345ad9941895d9618368e394ee434b1b5731771bbf5afc50d24539798575bcac2ce48db63dc0ea14a36cf2d8eaf1ac18583c87ffe44d
MISC metadata.xml 455 BLAKE2B 2f5a8853b71eaf3e4ee94334f49990d3025d2020630deb872baea2d4b0a710ddf69b27f7fcfba38791b81962afb027d8ec388e0dab11558180c8a5778bfe628f SHA512 88f9206c51f311ece73caf23f4bc26fac91c08d039657dba3cd6556bcd41de7aa2fcfc99931c40aa227c93d6577b3ef7a733112eee53d0c8c0ad460125c61c58

View File

@ -1,39 +0,0 @@
# 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="Rain Bird Controller"
HOMEPAGE="https://github.com/jbarrancos/pyrainbird/ https://pypi.org/project/pyrainbird/"
# Pypi SDIST incomplete, not tags at github
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/onkelbeh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
src_prepare() {
sed "s/packages=find_packages()/packages=find_packages(exclude=['test'])/g" -i setup.py || die
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -1,24 +1,28 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6..8} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
inherit distutils-r1 git-r3
DESCRIPTION="Rain Bird Controller"
HOMEPAGE="https://github.com/jbarrancos/pyrainbird/ https://pypi.org/project/pyrainbird/"
# Pypi SDIST incomplete, not tags at github
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/onkelbeh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
# SRC_URI="https://github.com/onkelbeh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
EGIT_COMMIT="d9fc7b4a1c845277ef6f0b4501e8053ef0556453"
EGIT_REPO_URI="https://github.com/jbarrancos/pyrainbird.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="${REDEPEND}