aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py-beautifulsoup4/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-beautifulsoup4/APKBUILD b/testing/py-beautifulsoup4/APKBUILD
new file mode 100644
index 0000000000..fa7e8c8ae0
--- /dev/null
+++ b/testing/py-beautifulsoup4/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-beautifulsoup4
+_pkgname=beautifulsoup4
+pkgver=4.3.1
+pkgrel=0
+pkgdesc="A Python HTML/XML parser"
+url="http://www.crummy.com/software/BeautifulSoup/index.html"
+arch="noarch"
+license="MIT"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://www.crummy.com/software/BeautifulSoup/bs4/download/${pkgver:0:3}/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="508095f2784c64114e06856edc1dafed beautifulsoup4-4.3.1.tar.gz"
+sha256sums="d94545f5a222fa8ad0265e08f40f1d719fe40acd6655fa3d00b42ae269ec2f0d beautifulsoup4-4.3.1.tar.gz"
+sha512sums="643342e679e9f5c4f7cc6386514151ba1176f7962ac6e40c8279de75c5081ad390ccd983a3f4e6ccaa4adadb10acaa6f0c53157099703a30a4741f3aa5c658e5 beautifulsoup4-4.3.1.tar.gz"