[arch-commits] Commit in python-beautifulsoup4/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 1 13:41:04 UTC 2019
Date: Friday, November 1, 2019 @ 13:41:03
Author: foutrelis
Revision: 521918
archrelease: copy trunk to community-staging-any
Added:
python-beautifulsoup4/repos/community-staging-any/PKGBUILD
(from rev 521917, python-beautifulsoup4/trunk/PKGBUILD)
Deleted:
python-beautifulsoup4/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-01 13:40:59 UTC (rev 521917)
+++ PKGBUILD 2019-11-01 13:41:03 UTC (rev 521918)
@@ -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.8.0
-pkgrel=2
-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://www.crummy.com/software/BeautifulSoup/bs4/download/${pkgver%.*}/${pkgbase#*-}-$pkgver.tar.gz")
-sha512sums=('00e157f8031dbb0e30e49158ca30f9e9207647dd3355edf23c2906b9d0c8b93250669edf5b20372e62546501a0cd2d7e87b793faf30bc122b5544f9358c1a4db')
-
-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-staging-any/PKGBUILD (from rev 521917, python-beautifulsoup4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-01 13:41:03 UTC (rev 521918)
@@ -0,0 +1,56 @@
+# 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.8.0
+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://www.crummy.com/software/BeautifulSoup/bs4/download/${pkgver%.*}/${pkgbase#*-}-$pkgver.tar.gz")
+sha512sums=('00e157f8031dbb0e30e49158ca30f9e9207647dd3355edf23c2906b9d0c8b93250669edf5b20372e62546501a0cd2d7e87b793faf30bc122b5544f9358c1a4db')
+
+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
+}
More information about the arch-commits
mailing list