aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mechanize/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-mechanize/APKBUILD')
-rw-r--r--testing/py-mechanize/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/py-mechanize/APKBUILD b/testing/py-mechanize/APKBUILD
new file mode 100644
index 0000000000..0fdad0c25b
--- /dev/null
+++ b/testing/py-mechanize/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer:
+pkgname=py-mechanize
+_pkgname=mechanize
+pkgver=0.2.4
+pkgrel=0
+pkgdesc="Stateful programmatic web browsing in Python"
+url="http://wwwsearch.sourceforge.net/mechanize/"
+arch="noarch"
+license="BSD ZPL"
+depends=
+depends_dev="python-dev py-setuptools"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://wwwsearch.sourceforge.net/$_pkgname/src/$_pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$_pkgname-$pkgver
+package() {
+ cd "$_builddir"
+ python setup.py install --root=$pkgdir
+ install -Dm644 COPYING.txt ${pkgdir}/usr/share/licenses/custom/${pkgname}/COPYING.txt
+}
+md5sums="0c1c3cec1c6d7b5d87662a069f04eb8d mechanize-0.2.4.tar.gz"