# Contributor: Anees PK # Maintainer: Anees PK pkgname=py3-pydes pkgver=2.0.1 _pkgname=pyDes pkgrel=2 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" subpackages="$pkgname-doc" source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm0644 README.txt -t "$pkgdir"/usr/share/doc/"$pkgname" } sha512sums=" 9d2a048dd6f629713d93d5cfcf5eaccb45a28fd3942f6837baf492bc6d9f0fcd16a1611e467231e9abfa6756d1684b0848c2190195e9e772bed2e6574327885c pyDes-2.0.1.tar.gz "