python-argon2: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:39:17 +07:00
parent a7def2c2a3
commit c3ae34ab88
3 changed files with 22 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-argon2'
pkgname=python-argon2
version=19.2.0
revision=1
wrksrc="argon2-cffi-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
makedepends="libargon2-devel python-devel python3-devel"
depends="python-cffi python-enum34 python-six"
short_desc="CFFI-based Argon2 Bindings for Python2"
maintainer="Enno Boland <gottox@voidlinux.org>"
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
post_install() {
vlicense LICENSE
}
python3-argon2_package() {
depends="python3-cffi python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-argon2

View file

@ -0,0 +1,22 @@
# Template file for 'python3-argon2'
pkgname=python3-argon2
version=19.2.0
revision=1
wrksrc="argon2-cffi-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-cffi"
makedepends="libargon2-devel python3-devel"
depends="python3-cffi python3-six"
short_desc="CFFI-based Argon2 Bindings for Python3"
maintainer="Enno Boland <gottox@voidlinux.org>"
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
post_install() {
vlicense LICENSE
}