From 4ddbac319d942aa88350c72f6e1860bd19c8eb44 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 20 Dec 2019 15:10:32 -0500 Subject: [PATCH] Remove upstreamed aports --- sr.ht/py3-beautifulsoup4/APKBUILD | 30 ----------- sr.ht/py3-prometheus-client/APKBUILD | 27 ---------- sr.ht/py3-soupsieve/APKBUILD | 29 ----------- sr.ht/py3-webencodings/APKBUILD | 28 ---------- .../py3-webencodings/py-webencodings/APKBUILD | 51 ------------------- 5 files changed, 165 deletions(-) delete mode 100644 sr.ht/py3-beautifulsoup4/APKBUILD delete mode 100644 sr.ht/py3-prometheus-client/APKBUILD delete mode 100644 sr.ht/py3-soupsieve/APKBUILD delete mode 100644 sr.ht/py3-webencodings/APKBUILD delete mode 100644 sr.ht/py3-webencodings/py-webencodings/APKBUILD diff --git a/sr.ht/py3-beautifulsoup4/APKBUILD b/sr.ht/py3-beautifulsoup4/APKBUILD deleted file mode 100644 index 1c212b7..0000000 --- a/sr.ht/py3-beautifulsoup4/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# 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" -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" diff --git a/sr.ht/py3-prometheus-client/APKBUILD b/sr.ht/py3-prometheus-client/APKBUILD deleted file mode 100644 index 2919d4a..0000000 --- a/sr.ht/py3-prometheus-client/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Drew DeVault -# Maintainer: Drew DeVault -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" diff --git a/sr.ht/py3-soupsieve/APKBUILD b/sr.ht/py3-soupsieve/APKBUILD deleted file mode 100644 index ee992a9..0000000 --- a/sr.ht/py3-soupsieve/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Drew DeVault -# Maintainer: Drew DeVault -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" diff --git a/sr.ht/py3-webencodings/APKBUILD b/sr.ht/py3-webencodings/APKBUILD deleted file mode 100644 index f9fba2b..0000000 --- a/sr.ht/py3-webencodings/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Drew DeVault -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" diff --git a/sr.ht/py3-webencodings/py-webencodings/APKBUILD b/sr.ht/py3-webencodings/py-webencodings/APKBUILD deleted file mode 100644 index 77eeb0a..0000000 --- a/sr.ht/py3-webencodings/py-webencodings/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Stefan Wagner -# Maintainer: Stefan Wagner -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" -- 2.45.2