diff options
author | turret <turret@duck.com> | 2023-09-16 17:10:39 -0500 |
---|---|---|
committer | turret <turret@duck.com> | 2023-09-16 17:10:39 -0500 |
commit | c74293450f439051f5305957d78aa38ed21a7ade (patch) | |
tree | 310d5aa4bf3f62b7771a1443523a15c349a6a17e /dev-python/pycryptodomex/pycryptodomex-3.19.0x-r1.ebuild | |
parent | acaacde6c66de75080a92a0fcef01342702b6cb1 (diff) | |
download | portage-overlay-c74293450f439051f5305957d78aa38ed21a7ade.tar.gz portage-overlay-c74293450f439051f5305957d78aa38ed21a7ade.tar.bz2 portage-overlay-c74293450f439051f5305957d78aa38ed21a7ade.zip |
dev-python/pycryptodomex: version bump 3.19.0x
Diffstat (limited to 'dev-python/pycryptodomex/pycryptodomex-3.19.0x-r1.ebuild')
-rw-r--r-- | dev-python/pycryptodomex/pycryptodomex-3.19.0x-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pycryptodomex/pycryptodomex-3.19.0x-r1.ebuild b/dev-python/pycryptodomex/pycryptodomex-3.19.0x-r1.ebuild new file mode 100644 index 0000000..fcbd7ef --- /dev/null +++ b/dev-python/pycryptodomex/pycryptodomex-3.19.0x-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_11 python3_12 ) +inherit distutils-r1 + +DESCRIPTION="Python package of low-level cryptographic primitives" +HOMEPAGE="https://github.com/Legrandin/pycryptodome" + +if [[ "${PV}" == *9999* ]]; then + EGIT_REPO_URI="https://github.com/Legrandin/pycryptodome.git" + EGIT_BRANCH="pycryptodomex" + inherit git-r3 +else + SRC_URI="https://github.com/Legrandin/pycryptodome/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +RESTRICT="mirror" + +DEPEND="${PYTHON_DEPS} + dev-python/pip" + +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +src_unpack() { + default + mv "pycryptodome-${PV}" "${P}" || die +} |