mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-25 15:42:31 +02:00
25 lines
617 B
Plaintext
25 lines
617 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py-crypto
|
|
pkgver=2.0.1
|
|
pkgrel=4
|
|
pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python."
|
|
url="http://www.amk.ca/python/code/crypto.html"
|
|
arch="all"
|
|
license="GPL"
|
|
depends="python"
|
|
makedepends="gmp-dev python-dev"
|
|
source="http://www.amk.ca/files/python/crypto/pycrypto-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/pycrypto-$pkgver
|
|
build ()
|
|
{
|
|
cd "$_builddir"
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --root="$pkgdir"
|
|
}
|
|
md5sums="4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz"
|