Skip to content

Commit

Permalink
testing/py3-pycryptodome: drop python2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikke committed May 31, 2019
1 parent 09babee commit a06cdd6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 54 deletions.
54 changes: 0 additions & 54 deletions testing/py-pycryptodome/APKBUILD

This file was deleted.

28 changes: 28 additions & 0 deletions testing/py3-pycryptodome/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-pycryptodome
pkgver=3.8.2
pkgrel=0
pkgdesc="Self-contained cryptographic library"
url="https://www.pycryptodome.org"
arch="all"
license="BSD-2-Clause Unlicense"
makedepends="python3-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v$pkgver.tar.gz"
builddir="$srcdir"/pycryptodome-$pkgver
replaces=py-pycryptodome
provides="py-pycryptodome=$pkgver-r$pkgrel"

build() {
python3 setup.py --quiet build
}

check() {
python3 setup.py test
}

package() {
python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}

sha512sums="4be61d7dafd38bfb011f6a585645fc8b6e4951c7173e7cb00c1e863c4a233e2285068d963e4dae55050c7dd198338af1d115dda3e6eece6ffda515af8d1136e2 py3-pycryptodome-3.8.2.tar.gz"

0 comments on commit a06cdd6

Please sign in to comment.