diff --git a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-1.11.0.ebuild b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-1.11.0.ebuild new file mode 100644 index 0000000..bf7327d --- /dev/null +++ b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-1.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7,3_8,3_9}) +DISTUTILS_USE_SETUPTOOLS=rdepend + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/${PN%-dns-rfc2136}/${PN%-dns-rfc2136}/archive/v${PV}.tar.gz -> ${PN%-dns-rfc2136}-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S=${WORKDIR}/${PN%-dns-rfc2136}-${PV}/${PN} +fi + +inherit distutils-r1 + +DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" + +RDEPEND=">=app-crypt/acme-1.8.0[${PYTHON_USEDEP}] + >=app-crypt/certbot-1.11.0[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/python-augeas[${PYTHON_USEDEP}] + dev-python/zope-component[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + nosetests || die +} diff --git a/dev-python/flask-restplus/flask-restplus-0.13.0.ebuild b/dev-python/flask-restplus/flask-restplus-0.13.0.ebuild new file mode 100644 index 0000000..b84653c --- /dev/null +++ b/dev-python/flask-restplus/flask-restplus-0.13.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Fully featured framework for fast, easy and documented API development with Flask" +HOMEPAGE="http://flask-restplus.readthedocs.org/ https://github.com/noirbizarre/flask-restplus/" +SRC_URI="https://github.com/noirbizarre/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/aniso8601-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/six-1.15.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + >=dev-python/flask-restful-0.3.8[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/sphinx[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/rednose[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + use test || rm -rf "${S}"/tests + + distutils-r1_src_prepare +} + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" + rm -rf "${BUILD_DIR}"/../tests/ || die +} diff --git a/dev-python/flask-restx/flask-restx-0.2.0-r1.ebuild b/dev-python/flask-restx/flask-restx-0.2.0-r1.ebuild new file mode 100644 index 0000000..ad69c64 --- /dev/null +++ b/dev-python/flask-restx/flask-restx-0.2.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Fully featured framework for fast, easy and documented API development with Flask" +HOMEPAGE="https://github.com/python-restx/flask-restx" +SRC_URI="https://github.com/python-restx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/aniso8601-4.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-0.8[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + doc? ( + ~dev-python/alabaster-0.7.12[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ~dev-python/sphinx-issues-1.2.0[${PYTHON_USEDEP}] + ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/rednose[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + use test || rm -rf "${S}"/tests + + distutils-r1_src_prepare +} + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" + rm -rf "${BUILD_DIR}"/../tests/ || die +} diff --git a/dev-python/pynzb/pynzb-0.1.0-r3.ebuild b/dev-python/pynzb/pynzb-0.1.0-r3.ebuild new file mode 100644 index 0000000..1bfd5e1 --- /dev/null +++ b/dev-python/pynzb/pynzb-0.1.0-r3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Unified API for parsing NZB files" +HOMEPAGE="https://pypi.python.org/pypi/pynzb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" diff --git a/dev-python/pystray/pystray-0.17.2.ebuild b/dev-python/pystray/pystray-0.17.2.ebuild new file mode 100644 index 0000000..902c934 --- /dev/null +++ b/dev-python/pystray/pystray-0.17.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +ISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_P="path.py-${PV}" + +DESCRIPTION="Python library to create a system tray icon" +HOMEPAGE="https://pythonhosted.org/pystray/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + + +RDEPEND=" + dev-python/pillow + >=dev-python/python-xlib-0.17 + dev-python/six +" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.3.1 +"