New and updated ebuilds

This commit is contained in:
layman 2021-02-03 12:27:54 +01:00
parent d62d5dc62b
commit 2364c58251
5 changed files with 190 additions and 0 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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=""

View File

@ -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
"