[arch-commits] Commit in python-beautifulsoup4/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 16 22:35:46 UTC 2021
Date: Tuesday, March 16, 2021 @ 22:35:46
Author: felixonmars
Revision: 892424
archrelease: copy trunk to community-any
Added:
python-beautifulsoup4/repos/community-any/PKGBUILD
(from rev 892423, python-beautifulsoup4/trunk/PKGBUILD)
Deleted:
python-beautifulsoup4/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++--------------------------------------
1 file changed, 34 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-16 22:35:37 UTC (rev 892423)
+++ PKGBUILD 2021-03-16 22:35:46 UTC (rev 892424)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgbase=python-beautifulsoup4
-pkgname=('python-beautifulsoup4' 'python2-beautifulsoup4')
-pkgver=4.9.3
-pkgrel=3
-pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping"
-arch=('any')
-url="https://www.crummy.com/software/BeautifulSoup/index.html"
-license=('PSF')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-soupsieve' 'python2-soupsieve')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://pypi.io/packages/source/b/beautifulsoup4/beautifulsoup4-$pkgver.tar.gz")
-sha512sums=('e3cb6258bd7c51f12128fa8ee5948fb3566163ae233fac2dda21bab7772ab8dbb384d920b0ea138ef9921307b48f89cee3a9bf6111dfc8903d917ee7af365f34')
-
-prepare() {
- cp -a beautifulsoup4-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/beautifulsoup4-$pkgver
- python setup.py build
-
- cd "$srcdir"/beautifulsoup4-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/beautifulsoup4-$pkgver/build
- py.test
-
- cd "$srcdir"/beautifulsoup4-$pkgver-py2/build
- py.test2
-}
-
-package_python-beautifulsoup4() {
- depends=('python-soupsieve')
- optdepends=('python-chardet: to autodetect character encodings'
- 'python-lxml: alternative HTML parser'
- 'python-html5lib: alternative HTML parser')
-
- cd beautifulsoup4-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-beautifulsoup4() {
- depends=('python2-soupsieve')
- optdepends=('python2-chardet: to autodetect character encodings'
- 'python2-lxml: alternative HTML parser'
- 'python2-html5lib: alternative HTML parser')
-
- cd beautifulsoup4-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-beautifulsoup4/repos/community-any/PKGBUILD (from rev 892423, python-beautifulsoup4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-16 22:35:46 UTC (rev 892424)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=python-beautifulsoup4
+pkgver=4.9.3
+pkgrel=4
+pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping"
+arch=('any')
+url="https://www.crummy.com/software/BeautifulSoup/index.html"
+license=('PSF')
+depends=('python-soupsieve')
+optdepends=('python-chardet: to autodetect character encodings'
+ 'python-lxml: alternative HTML parser'
+ 'python-html5lib: alternative HTML parser')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/b/beautifulsoup4/beautifulsoup4-$pkgver.tar.gz")
+sha512sums=('e3cb6258bd7c51f12128fa8ee5948fb3566163ae233fac2dda21bab7772ab8dbb384d920b0ea138ef9921307b48f89cee3a9bf6111dfc8903d917ee7af365f34')
+
+build() {
+ cd beautifulsoup4-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd beautifulsoup4-$pkgver/build
+ pytest
+}
+
+package() {
+ cd beautifulsoup4-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list