mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
874 B
Text
29 lines
874 B
Text
# Contributor: Anees PK <anees6478@gmail.com>
|
|
# Maintainer: Anees PK <anees6478@gmail.com>
|
|
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
|
|
"
|