diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pushbullet-py | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pushbullet-py')
| -rw-r--r-- | dev-python/pushbullet-py/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pushbullet-py/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/pushbullet-py/pushbullet-py-0.11.0-r1.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild | 50 |
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-python/pushbullet-py/Manifest b/dev-python/pushbullet-py/Manifest new file mode 100644 index 000000000000..23ad44b78bd8 --- /dev/null +++ b/dev-python/pushbullet-py/Manifest @@ -0,0 +1 @@ +DIST pushbullet.py-0.11.0.tar.gz 21653 BLAKE2B a6c9b6f4958ce35b63ea4043d1d4f8691885bd0aa2927af541f2080a0b0b65a7df979a497967f3adceab8ad2382448a4c6a02d1184c9d72a18d91844eb970722 SHA512 b236f30b99e5bb79eff183529716c1c8f83cfd2526fdf50d86041eb6d3fcd6670d0c4dce407ae6e50aea0fa96d6a5527af980148f0c71ef758c480f972ad9659 diff --git a/dev-python/pushbullet-py/metadata.xml b/dev-python/pushbullet-py/metadata.xml new file mode 100644 index 000000000000..5b17f7074c5f --- /dev/null +++ b/dev-python/pushbullet-py/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <upstream> + <remote-id type="pypi">pushbullet.py</remote-id> + <remote-id type="github">randomchars/pushbullet.py</remote-id> + <bugs-to>https://github.com/randomchars/pushbullet.py/issues</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pushbullet-py/pushbullet-py-0.11.0-r1.ebuild b/dev-python/pushbullet-py/pushbullet-py-0.11.0-r1.ebuild new file mode 100644 index 000000000000..d5dba92dc0b6 --- /dev/null +++ b/dev-python/pushbullet-py/pushbullet-py-0.11.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +DESCRIPTION="A simple python client for pushbullet.com" +HOMEPAGE="https://github.com/randomchars/pushbullet.py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + # skip tests which require network access + PUSHBULLET_API_KEY= pytest -vv \ + -k "not (test_auth or test_decryption)" \ + || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r example/. + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild b/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild new file mode 100644 index 000000000000..267422432286 --- /dev/null +++ b/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +DESCRIPTION="A simple python client for pushbullet.com" +HOMEPAGE="https://github.com/randomchars/pushbullet.py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + # skip tests which require network access + PUSHBULLET_API_KEY= py.test \ + -k "not (test_auth or test_decryption)" \ + || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r example/. + fi + distutils-r1_python_install_all +} |
