From 617f3b54a3d87968e769e73512d65c4fd195e225 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 30 Jun 2019 15:42:39 -0400 Subject: [PATCH] py3-beautifulsoup4: import from testing --- sr.ht/py3-beautifulsoup4/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sr.ht/py3-beautifulsoup4/APKBUILD diff --git a/sr.ht/py3-beautifulsoup4/APKBUILD b/sr.ht/py3-beautifulsoup4/APKBUILD new file mode 100644 index 0000000..e769766 --- /dev/null +++ b/sr.ht/py3-beautifulsoup4/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py3-beautifulsoup4 +_pyname=beautifulsoup4 +pkgver=4.7.1 +pkgrel=0 +pkgdesc="A Python HTML/XML parser" +url="http://www.crummy.com/software/BeautifulSoup/index.html" +arch="noarch" +license="MIT" +makedepends="py3-setuptools python3-dev" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" +options="!check" # upstream provides no test suite + +prepare() { + 2to3 -w bs4 >/dev/null +} + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="7aa77bc6008bbcbbbe91b0a850007ab237d2832b63a787fbd94b7cbf47d4276b185e0c61c134df73221406458edff2b75b6b8c2b53b543aa3bb1b0e2202dac5a beautifulsoup4-4.7.1.tar.gz" -- 2.45.2