mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
33 lines
904 B
Text
33 lines
904 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-pefile
|
|
_pkgname=pefile
|
|
pkgver=2021.5.24
|
|
pkgrel=0
|
|
pkgdesc="Python PE parsing module"
|
|
url="https://github.com/erocarrera/pefile"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-future python3"
|
|
makedepends="py3-setuptools"
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/erocarrera/$_pkgname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces=py-pefile # Backwards compatibility
|
|
provides=py-pefile=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py check
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
86e94f339e195216d99ba48f904d196f7f1ef91cbf748adbb785e5a0f2c78ea804949abc2f1ada60aa76fb263abbaf394a23e5b9a354c01eeb0637ea90c3c04b pefile-2021.5.24.tar.gz
|
|
"
|