[arch-commits] Commit in python-beautifulsoup4/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Sep 26 19:11:37 UTC 2020


    Date: Saturday, September 26, 2020 @ 19:11:37
  Author: felixonmars
Revision: 712522

archrelease: copy trunk to community-any

Added:
  python-beautifulsoup4/repos/community-any/PKGBUILD
    (from rev 712521, python-beautifulsoup4/trunk/PKGBUILD)
Deleted:
  python-beautifulsoup4/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-26 19:11:19 UTC (rev 712521)
+++ PKGBUILD	2020-09-26 19:11:37 UTC (rev 712522)
@@ -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.1
-pkgrel=1
-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=('a1fe9cbfe8616d2ff25cc836769ff02d51ed86b06ca9a37366867b145440b7f64b866346600ed74820f0407c8e70eaac3d58700766a99b5ff7433cb736a57b3c')
-
-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 712521, python-beautifulsoup4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-26 19:11:37 UTC (rev 712522)
@@ -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.9.2
+pkgrel=1
+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=('3bac5d57404e0be1e77a1bd560750e831c8636fc5f9b3c05b375c0cf44d6846ed73127a2a7d1d8ca657c21ec33854b8194f76b62820fb627d80a5906229a7454')
+
+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