From e063ba652ee70ba9eca81f4e3cc718f20073c3e4 Mon Sep 17 00:00:00 2001 From: ~keith Date: Thu, 28 Jul 2022 14:16:23 +0000 Subject: [PATCH] add python-openid --- dev-python/python-openid2/Manifest | 1 + .../python-openid2/python-openid2-3.2.ebuild | 38 +++++++++++++++++++ metadata/layout.conf | 3 ++ profiles/repo_name | 1 + 4 files changed, 43 insertions(+) create mode 100644 dev-python/python-openid2/Manifest create mode 100644 dev-python/python-openid2/python-openid2-3.2.ebuild create mode 100644 metadata/layout.conf create mode 100644 profiles/repo_name diff --git a/dev-python/python-openid2/Manifest b/dev-python/python-openid2/Manifest new file mode 100644 index 0000000..c87d500 --- /dev/null +++ b/dev-python/python-openid2/Manifest @@ -0,0 +1 @@ +DIST python-openid2-3.2.tar.gz 113888 BLAKE2B ec70dc9c7bd3355e6941a52cfde220bc36f9d28d5fdb17ae0316b57020620857c4bf4c4391ce08f20f35e73a441092fa63c646233e0e5ebbab59f0c3c850f222 SHA512 d79837474cd1012ec15fa1db0169bd3dfe0bb60a159cd030d4ff5ed5a3522bb102f9c54b0dfbc784b3b633c81c91d4ae008fb442ef209e6d6f0d4ecf79774da7 diff --git a/dev-python/python-openid2/python-openid2-3.2.ebuild b/dev-python/python-openid2/python-openid2-3.2.ebuild new file mode 100644 index 0000000..754bfb7 --- /dev/null +++ b/dev-python/python-openid2/python-openid2-3.2.ebuild @@ -0,0 +1,38 @@ +# Written by ~keith, based on the other Gentoo python ebuilds + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python OpenID library - OpenID support for servers and consumers" +HOMEPAGE=" + https://github.com/ziima/python-openid/ + https://pypi.org/project/python-openid2/ +" + +MY_PN="python-openid2" +MY_P="${MY_PN}-${PV}" + +if [[ "${PV}" == *9999* ]]; then + EGIT_REPO_URI="https://github.com/ziima/python-openid.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +# USE test: dev-python/mock dev-python/testfixtures dev-python/responses dev-python/coverage + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] +" diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..20fcfea --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1,3 @@ +masters = gentoo +thin-manifests = true +sign-manifests = false diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..92faff2 --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +pipless