summaryrefslogtreecommitdiff
path: root/dev-python/argon2-cffi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-python/argon2-cffi
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-python/argon2-cffi')
-rw-r--r--dev-python/argon2-cffi/Manifest5
-rw-r--r--dev-python/argon2-cffi/argon2-cffi-21.2.0.ebuild45
-rw-r--r--dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild40
-rw-r--r--dev-python/argon2-cffi/argon2-cffi-21.3.0.ebuild45
4 files changed, 135 insertions, 0 deletions
diff --git a/dev-python/argon2-cffi/Manifest b/dev-python/argon2-cffi/Manifest
index baf9aae014fe..aaca75ae59a0 100644
--- a/dev-python/argon2-cffi/Manifest
+++ b/dev-python/argon2-cffi/Manifest
@@ -1,3 +1,8 @@
DIST argon2-cffi-21.1.0.tar.gz 1807800 BLAKE2B 47b1e785b7eb173b671a44e9212af76a59f453c3c0d0e5f2c437e7a62132abf86ab6baa8bdd656ad28d00a151296a66211d365c0afe228821c8c1ff1a0a66c46 SHA512 bbfebd2c075f360a6c1c187c0789be2aae7480b9398f36db7bdfe74f288d9e00b44a788918c54f4cc8bb1947136ab0493f61975de408c482a5131e2bf1a8f4d0
+DIST argon2-cffi-21.2.0.tar.gz 42399 BLAKE2B d2f1a7e7caf776239f343f5e5f2cd1fcd78f0dbdfc28814e3299df18e5c97a81cafa37bf10733614fe32ddc8d19fa5c5721285e8b96b9172eaf2322a5bb9e529 SHA512 40cdd18106d959bf58f20a35ea84ac3c3859d28ed6cfa28ee81655c12038b4e0f28bfe2d8ee9b96cd6009dfcebe0ef6aa4eb7fa9cd81cad0b32911ca723a8bdd
+DIST argon2-cffi-21.3.0.tar.gz 38446 BLAKE2B e0464f501efcdfbf33d93e0c1c6dbc519ad6aee06c0b8692417156de608f6c6acf947f86b866c064601fe994087677e51d954ae2c1225cbbbba3534cf70c6296 SHA512 6cb2a075f3bb7040ee7f552d082bfa2f3df0854649d9c84fdfdb42bb4bee2133b8a35a20be2b3c887931efda12fbbb00815d8d88170b7e20b3ca19c86f97057e
EBUILD argon2-cffi-21.1.0-r1.ebuild 763 BLAKE2B 25fa5be24583bc6cba16ff5b60c305b7b358d23fd849ed8b006e704dd9d5f09098bd51d22516b32d0527e6fa5a388e24450599a71b6238b6a59f670b8537157d SHA512 db9f3fb5464f2f5eb0d86dce73c70c45683a589469eff9297da0e9c01634a61d0c7effb1d2e13965da1a40c5824432a2a3acc4dedd6b3a52e4ec1b8ab0932a53
+EBUILD argon2-cffi-21.2.0.ebuild 1492 BLAKE2B 1731f7ed7acbfeb77ba8ac116d6a245e7359cd2c2873d27538343f6d67d70a88945d646a771a44671c9bcf3581a6a9e1498354b7228377256ef3cc05cd31fcad SHA512 7971e8f6e8f3d1561becf0bd1a5088b39fe0b2194499022211f2b4bfc067f2c73999dbfd128107331653fd63d930ee8e40cfcd8d519bef6109642c2b9fa0eae9
+EBUILD argon2-cffi-21.3.0-r1.ebuild 1182 BLAKE2B c29f7f24849ff91682f993ae1a1fd98d086ac7ac5a9079a0b74a73c50d5fe47c47e132519e33f21370983e2d8e459ec9f2926245cc50f16ee2bafc5b51795936 SHA512 e4830868cbcfbf05dc63f12e48ba8651dee880ea12ffa9df4286ab55f7624e0afe0efe8b49cb5439b491586c0c81961ed6618eb6e0e02b126718b9a8fe64e858
+EBUILD argon2-cffi-21.3.0.ebuild 1479 BLAKE2B 07c5b6643dcf64f9d0aa9d5c3f327fe6bb8898e882c8e40aa9a5cb3689a49c86c3a84713d10d1ccec0ae1900c43a262310f60f0d98795d2a530aae6b3391b6cd SHA512 d67b48c4c7f38291eb264ec2acce7d8e3b0f64f42d078920cab3a6bd6592c5adba9d487c079f24e7781100b5e186739fa322e733e831222f350a5ad995504216
MISC metadata.xml 666 BLAKE2B 831fde25c0b52ed8610f39ab589f339783bace8dc2cc60ffa4736257c352bc82b89e110bf44181790e4a16db967e4c516f21fbc3cd1526a9975cc86b21f723f7 SHA512 543bb0e37fdf96b8c2fa4ec26eae837317dda4688b4293e82268100ce69e3f9987e91b2f141cac1be4becba9698f9806d22242801523bec825271b8fa4f14bc8
diff --git a/dev-python/argon2-cffi/argon2-cffi-21.2.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-21.2.0.ebuild
new file mode 100644
index 000000000000..4b92a9605e4c
--- /dev/null
+++ b/dev-python/argon2-cffi/argon2-cffi-21.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="CFFI bindings to the Argon2 password hashing library"
+HOMEPAGE="https://github.com/hynek/argon2-cffi"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND=">=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}]"
+BDEPEND="
+ <dev-python/pyproject2setuppy-22[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( AUTHORS.rst CHANGELOG.md FAQ.rst README.rst )
+
+src_prepare() {
+ # Patch the tool.flit.module.name entry in pyproject.toml to include
+ # the "src" subfolder. This allows pyproject2setuppy to retrieve the
+ # dynamic version and description correctly.
+ sed -i -e 's:^name = "argon2":name = "src/argon2":' \
+ "pyproject.toml" || die "Unable to patch package name"
+ # Sphinx's conf.py uses importlib.metadata to determine the package
+ # version. However, argon2-cffi is not installed when we try to build
+ # the docs. Therefore, we patch the release version in conf.py.
+ sed -i -e "/^release/s:= .*:= \"${PV}\":" \
+ "docs/conf.py" || die "Unable to patch version in docs"
+ distutils-r1_src_prepare
+}
+
+distutils_enable_sphinx docs \
+ dev-python/furo \
+ dev-python/sphinx-notfound-page
+distutils_enable_tests pytest
diff --git a/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild b/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild
new file mode 100644
index 000000000000..8317e93d5c4a
--- /dev/null
+++ b/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="CFFI bindings to the Argon2 password hashing library"
+HOMEPAGE="https://github.com/hynek/argon2-cffi"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND=">=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}]"
+BDEPEND="
+ >=dev-python/pyproject2setuppy-22[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( AUTHORS.rst FAQ.rst README.rst )
+
+src_prepare() {
+ # Sphinx's conf.py uses importlib.metadata to determine the package
+ # version. However, argon2-cffi is not installed when we try to build
+ # the docs. Therefore, we patch the release version in conf.py.
+ sed -i -e "/^release/s:= .*:= \"${PV}\":" \
+ "docs/conf.py" || die "Unable to patch version in docs"
+ distutils-r1_src_prepare
+}
+
+distutils_enable_sphinx docs \
+ dev-python/furo \
+ dev-python/sphinx-notfound-page
+distutils_enable_tests pytest
diff --git a/dev-python/argon2-cffi/argon2-cffi-21.3.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-21.3.0.ebuild
new file mode 100644
index 000000000000..00502332253a
--- /dev/null
+++ b/dev-python/argon2-cffi/argon2-cffi-21.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="CFFI bindings to the Argon2 password hashing library"
+HOMEPAGE="https://github.com/hynek/argon2-cffi"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND=">=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}]"
+BDEPEND="
+ <dev-python/pyproject2setuppy-22[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( AUTHORS.rst FAQ.rst README.rst )
+
+src_prepare() {
+ # Patch the tool.flit.module.name entry in pyproject.toml to include
+ # the "src" subfolder. This allows pyproject2setuppy to retrieve the
+ # dynamic version and description correctly.
+ sed -i -e 's:^name = "argon2":name = "src/argon2":' \
+ "pyproject.toml" || die "Unable to patch package name"
+ # Sphinx's conf.py uses importlib.metadata to determine the package
+ # version. However, argon2-cffi is not installed when we try to build
+ # the docs. Therefore, we patch the release version in conf.py.
+ sed -i -e "/^release/s:= .*:= \"${PV}\":" \
+ "docs/conf.py" || die "Unable to patch version in docs"
+ distutils-r1_src_prepare
+}
+
+distutils_enable_sphinx docs \
+ dev-python/furo \
+ dev-python/sphinx-notfound-page
+distutils_enable_tests pytest