-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing/py3-pycryptodome: drop python2 support
- Loading branch information
Showing
2 changed files
with
28 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |