aports/testing/py3-pydes/APKBUILD
2024-08-06 14:33:08 +02:00

33 lines
949 B
Text

# Contributor: Anees PK <anees6478@gmail.com>
# Maintainer: Anees PK <anees6478@gmail.com>
pkgname=py3-pydes
pkgver=2.0.1
_pkgname=pyDes
pkgrel=5
pkgdesc="Python implementation of DES and TRIPLE DES encryption algorithm"
options="!check" # no test suite
url="http://twhiteman.netfirms.com/des.html"
arch="noarch"
license="CC-PDDC"
depends="python3"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-doc $pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
install -Dm0644 README.txt -t "$pkgdir"/usr/share/doc/"$pkgname"
}
sha512sums="
9d2a048dd6f629713d93d5cfcf5eaccb45a28fd3942f6837baf492bc6d9f0fcd16a1611e467231e9abfa6756d1684b0848c2190195e9e772bed2e6574327885c pyDes-2.0.1.tar.gz
"