forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.44, Repoman-2.3.10
- Loading branch information
1 parent
1cbce15
commit 7b92713
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST oslo.policy-1.33.1.tar.gz 74314 BLAKE2B dda781284b77a6677f9a5dd55473bc239a5b482e635a8e0e808f918ad7aa6f2a8178676f9584a15c418cad373e9f34f6a24bfc462c053f06d0993786fb5ede0d SHA512 50d2c146afe04f669c0d7f3e7309a9d03883ca72fece4135e20f7d8a75b71a5a69b9b5b26e36b6afb0fd162c4ddcc5566c08cdf26dbf3bd9679f5ff75c27d722 | ||
DIST oslo.policy-1.33.2.tar.gz 74863 BLAKE2B c509ae19786bdb58760413219214a6d928097003f046d51d9c42e2c738585fe7a324e875d7b0fe9b8084c4991cebdd530f382c025742f055ec9f157a48f8e969 SHA512 c6479993ac7ea8671632178e339d2842d185334557691ffa7ca30bc641313f080f7849e7141bbda941fcf22349ab076ab4ba2bd8dc9dae59fab6446988700848 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Support for RBAC policy enforcement across all OpenStack services" | ||
HOMEPAGE="https://pypi.org/project/oslo.policy/" | ||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.policy/oslo.policy-${PV}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64 ~x86" | ||
IUSE="" | ||
|
||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] | ||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" | ||
DEPEND=" | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
${CDEPEND}" | ||
RDEPEND=" | ||
${CDEPEND} | ||
>=dev-python/requests-2.14.2[${PYTHON_USEDEP}] | ||
>=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}] | ||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] | ||
>=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] | ||
!~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}] | ||
>=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] | ||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}] | ||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] | ||
" | ||
|
||
S="${WORKDIR}/oslo.policy-${PV}" | ||
|
||
python_prepare_all() { | ||
sed -i '/^hacking/d' test-requirements.txt || die | ||
distutils-r1_python_prepare_all | ||
} |