privacyidea: flask-versioned dependency

This commit is contained in:
Jörg Deckert 2020-02-12 09:03:22 +01:00
parent 58f50fa9ab
commit 5049d33368
6 changed files with 78 additions and 1 deletions

View File

@ -0,0 +1,2 @@
DIST Flask-Versioned-0.9.4-20101221.tar.gz 2273 BLAKE2B 67f527fed308cf4514b8ea517d73e4b70d3e14551a90da3eee8da3e8e151af0cb69cb15435f3c45ad35f376c2f0baea44f789573c7d28edb17e115aa547517fc SHA512 465ea74e0b50e709e689adb4fbe413308f51aa1c3f5df33706030cfd9cd118e021e5ca3dbb419c5dcd3bfb39333e70cbece94dd910c873e507b7155500a01aa5
EBUILD flask-versioned-0.9.4.ebuild 854 BLAKE2B f7e6924aecd0a6646c602fd049cad84d9090ff5b0471ca16ccbc5a5ec7e59cfc8889d4c73644e9003dc39e2b1454f52b0f5f114920b63879b30fe9cd8010ff06 SHA512 19b06620b516870303755cda3224d54365bb869d9d02289ba4515cabb987290ef5700b845c1ef92d28aebae14f9e6fda585651e367a4072eb884097c08527d10

View File

@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
MY_PN="Flask-Versioned"
MY_DATE="20101221"
MY_P="${MY_PN}-${PV}-${MY_DATE}"
DESCRIPTION="Add version info to file paths."
HOMEPAGE="https://github.com/pilt/flask-versioned"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-flaskext[${PYTHON_USEDEP}]
>=dev-python/flask-0.9[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_P}"
python_test() {
esetup.py test || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
}

View File

@ -0,0 +1 @@
EBUILD namespace-flaskext-1.ebuild 848 BLAKE2B 3604920bc3b800fbdbfd1149a3c0055d4bd791dbd7123a8b543850b7cda2c27302b016a1ad861bd7111892fb33169346e4889e7ea5fd9be67237b778b1cdb31a SHA512 0b005fd9fb1c6e109dff082c5091035b1ef4183c9b3d307b4cf79c1f5fe6a0fcf000b8f0c6ce055dd30e7684105516ea6280d96f91b8033fbb209faca3bca973

View File

@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
inherit python-r1
DESCRIPTION="Namespace package declaration for flaskext"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages"
SRC_URI=""
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE=""
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${PYTHON_DEPS}"
DEPEND="${PYTHON_DEPS}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_unpack() {
mkdir -p "${S}"/flaskext || die
cat > "${S}"/flaskext/__init__.py <<-EOF || die
__import__('pkg_resources').declare_namespace(__name__)
EOF
}
src_install() {
python_foreach_impl python_domodule flaskext
}

View File

@ -16,4 +16,4 @@ EBUILD privacyidea-2.23.2.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023
EBUILD privacyidea-2.23.5-r1.ebuild 3112 BLAKE2B 3dccbaa14248368c7e3a53e891bc861e7cf7a09d41d9f00005fc3899fa1e318606f9346ba789d6d9059c02b4323a9f1bcf112583ff1f9b0c156cb6eba6143103 SHA512 4d901ce5e5994354cdaef390927cf0ffacb3d048264375236aeab65a2accf77ae805efc3833a4d013a9f58824365da5667334b4fa826e8526ca9b1c959322bee EBUILD privacyidea-2.23.5-r1.ebuild 3112 BLAKE2B 3dccbaa14248368c7e3a53e891bc861e7cf7a09d41d9f00005fc3899fa1e318606f9346ba789d6d9059c02b4323a9f1bcf112583ff1f9b0c156cb6eba6143103 SHA512 4d901ce5e5994354cdaef390927cf0ffacb3d048264375236aeab65a2accf77ae805efc3833a4d013a9f58824365da5667334b4fa826e8526ca9b1c959322bee
EBUILD privacyidea-2.23.5.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762 EBUILD privacyidea-2.23.5.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762
EBUILD privacyidea-3.0.2.ebuild 3223 BLAKE2B 1b06c97aa2896f584fad2c479b0f558e4d47618924899616ab8d5e664b37801208b56e2093f3067707a8eab98ddee54888fa32c342eac06734bdc070b20bf0b8 SHA512 cd8877fc58241ff78b84be80ece420163b2091be22310c9830f54d098a12ec2a4429342ba2b38ab35ca9e2cb4a865efc68f223401c7d7a724a0c8dc17c6a0d81 EBUILD privacyidea-3.0.2.ebuild 3223 BLAKE2B 1b06c97aa2896f584fad2c479b0f558e4d47618924899616ab8d5e664b37801208b56e2093f3067707a8eab98ddee54888fa32c342eac06734bdc070b20bf0b8 SHA512 cd8877fc58241ff78b84be80ece420163b2091be22310c9830f54d098a12ec2a4429342ba2b38ab35ca9e2cb4a865efc68f223401c7d7a724a0c8dc17c6a0d81
EBUILD privacyidea-3.2.2.ebuild 3223 BLAKE2B cfa64e83b8f7e641b8c2af45175cfd0323307212fc20d39ddd35834c402b7d6845b6887200ad68cd631d361103410f257a65c5c26d9ae39c7adffc54d51c9a67 SHA512 94ec35707d66394d72f99a04e1acb9f3877f893f9ec1e5fc4162b372363efd04d38d1ad3eca1517e30d3771326fcb50e67d26ff8121eb3ba4f1311f3a5e986ae EBUILD privacyidea-3.2.2.ebuild 3269 BLAKE2B 2a03af74af6b837f79472811eafe8e4cef7ec73da3f793c2ae13c4a941bd0397708f087391a36ad1331bdf1e1ccdca889122ea79743e8be04702905df427bc2d SHA512 9581e71746ab4b7510b2817219a518657e57575a52f2e0263498e1e3321e2ef9eed2666f0f9e485fdd383c13a579dacf5c039081b22288341f2b94f1555f0e74

View File

@ -43,6 +43,7 @@ RDEPEND="
dev-python/flask-babel[${PYTHON_USEDEP}] dev-python/flask-babel[${PYTHON_USEDEP}]
dev-python/flask-migrate[${PYTHON_USEDEP}] dev-python/flask-migrate[${PYTHON_USEDEP}]
dev-python/flask-script[${PYTHON_USEDEP}] dev-python/flask-script[${PYTHON_USEDEP}]
dev-python/flask-versioned[${PYTHON_USEDEP}]
dev-python/funcparserlib[${PYTHON_USEDEP}] dev-python/funcparserlib[${PYTHON_USEDEP}]
dev-python/huey[${PYTHON_USEDEP}] dev-python/huey[${PYTHON_USEDEP}]
dev-python/itsdangerous[${PYTHON_USEDEP}] dev-python/itsdangerous[${PYTHON_USEDEP}]