1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/py3-mechanize/APKBUILD
2019-11-05 15:33:59 +00:00

28 lines
837 B
Text

# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-mechanize
_pkgname=mechanize
pkgver=0.4.3
pkgrel=1
pkgdesc="Stateful programmatic web browsing in Python"
url="https://github.com/python-mechanize/mechanize"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="892f264ab2743b8649fb4647c8399a5952db82446d8d22e8df2ad1160a1aa147eaca8b8704fe2467a83a6cd01d6f697eea3c5be94f33770bd7daeda4df6de2d6 mechanize-0.4.3.tar.gz"