~dricottone/huttese-apk

4ddbac319d942aa88350c72f6e1860bd19c8eb44 — Drew DeVault 5 years ago c8e5b9d
Remove upstreamed aports
5 files changed, 0 insertions(+), 165 deletions(-)

D sr.ht/py3-beautifulsoup4/APKBUILD
D sr.ht/py3-prometheus-client/APKBUILD
D sr.ht/py3-soupsieve/APKBUILD
D sr.ht/py3-webencodings/APKBUILD
D sr.ht/py3-webencodings/py-webencodings/APKBUILD
D sr.ht/py3-beautifulsoup4/APKBUILD => sr.ht/py3-beautifulsoup4/APKBUILD +0 -30
@@ 1,30 0,0 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
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"
depends="python3"
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"

D sr.ht/py3-prometheus-client/APKBUILD => sr.ht/py3-prometheus-client/APKBUILD +0 -27
@@ 1,27 0,0 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-prometheus-client
_pyname=prometheus_client
pkgver=0.7.1
pkgrel=0
pkgdesc="Prometheus instrumentation client for Python"
url="https://github.com/prometheus/client_python"
arch="noarch"
license="Apache-2.0"
depends="py3-twisted"
makedepends="python3-dev py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-prometheus-client py2-prometheus-client"
builddir="$srcdir"/$_pyname-$pkgver
options="!check" # no upstream tests

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cd7e7471c7c6d90681ce54ba41bd9fb94f58b799a63f1fca1987f8a59442ee2321d1d7157a0713f29ac32a49f64bae1e8d97ffc8b1e96e304448ae23cb0eb7de  prometheus_client-0.7.1.tar.gz"

D sr.ht/py3-soupsieve/APKBUILD => sr.ht/py3-soupsieve/APKBUILD +0 -29
@@ 1,29 0,0 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-soupsieve
_pyname=soupsieve
pkgver=1.9.2
pkgrel=0
pkgdesc="A modern CSS selector implementation for Beautiful Soup."
url="https://github.com/facelessuser/soupsieve"
arch="noarch"
license="MIT"
checkdepends="py3-beautifulsoup4"
makedepends="py3-setuptools py3-pytest py3-pytest-cov py3-lxml py3-html5lib"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7d741d7119ecfb886c3c08853aa268c81b8eccae304518367e8ff479b7925d95131f484c4f57af7c5d0dc87cbdb511a48581a3ca9bd206711d5f4700e0896906  soupsieve-1.9.2.tar.gz"

D sr.ht/py3-webencodings/APKBUILD => sr.ht/py3-webencodings/APKBUILD +0 -28
@@ 1,28 0,0 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-webencodings
_pyname=webencodings
pkgver=0.5.1
pkgrel=4
pkgdesc="A Python implementation of the WHATWG Encoding standard"
url="https://github.com/gsnedders/python-webencodings"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="b727b01bac6ec79bca517960d27b4c0668b295f25559471b9641c2c33dab55db6dac9c990952177964c6418382c22831b14d57df5e632d51d7abf97b61f24326  webencodings-0.5.1.tar.gz"

D sr.ht/py3-webencodings/py-webencodings/APKBUILD => sr.ht/py3-webencodings/py-webencodings/APKBUILD +0 -51
@@ 1,51 0,0 @@
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=py-webencodings
_pkgname=webencodings
pkgver=0.5.1
pkgrel=1
pkgdesc="Character encoding for the web"
url="https://github.com/gsnedders/python-webencodings"
arch="noarch"
license="MIT"
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
source="$_pkgname-$pkgver.tar.gz::https://github.com/gsnedders/python-$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/python-$_pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build
	python3 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py test
	python3 setup.py test
}

package() {
	mkdir -p "$pkgdir"
}

_py2() {
	depends="${depends//py-/py2-}"
	_py python2
}

_py3() {
	depends="${depends//py-/py3-}"
	_py python3
}

_py() {
	local python="$1"
	pkgdesc="$pkgdesc (for $python)"
	depends="$depends $python"
	install_if="$pkgname=$pkgver-r$pkgrel $python"

	cd "$builddir"
	$python setup.py install --prefix=/usr --root="$subpkgdir"
}
sha512sums="c5cb34f35fb5bc7ffb88c19eb3262dedbf6231c0ee2871dccbc0f9497193d8209fc20703d451a2bb41a5ff913e63abf7481f7a8f9886c953724e9cf71c34cb74  webencodings-0.5.1.tar.gz"