diff --git a/srcpkgs/python3-argon2/template b/srcpkgs/python3-argon2/template index 70d648f89ae..59dc2c94e01 100644 --- a/srcpkgs/python3-argon2/template +++ b/srcpkgs/python3-argon2/template @@ -1,20 +1,18 @@ # Template file for 'python3-argon2' pkgname=python3-argon2 -version=19.2.0 -revision=5 -build_style=python3-module -hostmakedepends="python3-setuptools python3-cffi" -makedepends="libargon2-devel python3-devel" -depends="python3-cffi python3-six" +version=23.1.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme" +depends="python3-argon2-cffi-bindings" +checkdepends="python3-pytest python3-hypothesis $depends" short_desc="CFFI-based Argon2 Bindings for Python3" maintainer="Enno Boland " license="MIT" homepage="https://argon2-cffi.readthedocs.io/" changelog="https://raw.githubusercontent.com/hynek/argon2-cffi/master/CHANGELOG.rst" -distfiles="https://github.com/hynek/argon2-cffi/archive/${version}.tar.gz" -checksum=b7ad06a32aba8e795830c0248f8e6c464b7f3037442322937552a5e8b6013b7a - -export ARGON2_CFFI_USE_SYSTEM=1 +distfiles="${PYPI_SITE}/a/argon2-cffi/argon2_cffi-${version}.tar.gz" +checksum=879c3e79a2729ce768ebb7d36d4609e3a78a4ca2ec3a9f12286ca057e3d0db08 post_install() { vlicense LICENSE