mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-beautifulsoup4: new aport
A Python HTML/XML parser http://www.crummy.com/software/BeautifulSoup/index.html
This commit is contained in:
parent
db993980d6
commit
d8198db938
41
testing/py-beautifulsoup4/APKBUILD
Normal file
41
testing/py-beautifulsoup4/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user