add pywebpush

This commit is contained in:
Andreas Billmeier 2019-04-06 09:22:13 +02:00
parent 4120d268d3
commit c2ca8da2d1
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST pywebpush-1.9.2.tar.gz 22223 BLAKE2B 74be94c0db3c34d9bf9a67d2cb6c3d164624dfe36bc93ab5170a24776dfa553fbf86d41d78fbe60f401b6d33178e3ef9363a41f8d0bd3d2c305dd59db9344d43 SHA512 ab67db67afcdef85b3574a65c1c60cd77cd237a03c21a9ff676e39ea0658355648444b8a7bc861834d2e1d16f68f387c5fc0c84492679befef82694ae62e4b30
EBUILD pywebpush-1.9.2.ebuild 706 BLAKE2B 9fdadeadc3b363cb8c4940d271f165a379ff9c53af4d893aaed9f601a421ed7058a671b0ce2918749543276f0ad317f53f3a3f86b1e25ff336e301a6a26fd1ad SHA512 5c42a8308ffdc9d76528e19fa8a452b8fd7d48b512a18cc50e2ecf08ad7ee1f23d26934a4d760e9297cb3bdb5456dcbf9d7b230c758d1e6b35aa1b83da39ca34
MISC metadata.xml 464 BLAKE2B cb9e6aff64d8d1221083061d9124e3787e492c9cef7098aa831ba73c23aa8dc90fab1c284e2e9e404231080fda4c4d6c58d40e994aec7e83d11c0431d2ab8182 SHA512 f60093647879d326be2e9f618ca5fbbed385440d90f94024553b8058084cc3be8e53a8f596552ed2c4845646572106a6e16943d4192686ac43ebb237395e85ba

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">pywebpush</remote-id>
<maintainer status="unknown">
<email>src+webpusher@jrconlin.com</email>
<name>JR Conlin</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="WebPush publication library"
HOMEPAGE="https://github.com/web-push-libs/pywebpush https://pypi.org/project/pywebpush/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL2"
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
}