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

Johannes Löthberg demize at archlinux.org
Sat Oct 20 12:35:29 UTC 2018


    Date: Saturday, October 20, 2018 @ 12:35:28
  Author: demize
Revision: 398070

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 53 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-20 12:35:24 UTC (rev 398069)
+++ PKGBUILD	2018-10-20 12:35:28 UTC (rev 398070)
@@ -1,55 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgbase=python-bleach
-pkgname=(python-bleach python2-bleach)
-pkgver=2.1.4
-pkgrel=1
-
-pkgdesc="An easy whitelist-based HTML-sanitizing tool"
-url="https://pypi.org/project/bleach/"
-arch=('any')
-license=('Apache')
-makedepends=('python'
-             'python-setuptools'
-             'python-html5lib'
-             'python2'
-             'python2-setuptools'
-             'python2-html5lib')
-checkdepends=('python-pytest'
-              'python2-pytest')
-
-source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
-
-sha256sums=('0ee95f6167129859c5dce9b1ca291ebdb5d8cd7e382ca0e237dfd0dad63f63d8')
-
-prepare() {
-	cp -a bleach-$pkgver{,-python2}
-}
-
-build() {
-	cd "$srcdir"/bleach-$pkgver
-	python setup.py build
-
-	cd "$srcdir"/bleach-$pkgver-python2
-	python2 setup.py build
-}
-
-check() {
-	cd "$srcdir"/bleach-$pkgver
-	python -m pytest
-
-	cd "$srcdir"/bleach-$pkgver-python2
-	python2 -m pytest
-}
-
-package_python-bleach() {
-	depends=("python-html5lib")
-	cd "$srcdir"/bleach-$pkgver
-	python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-bleach() {
-	depends=("python2-html5lib")
-	cd "$srcdir"/bleach-$pkgver-python2
-	python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-bleach/repos/community-any/PKGBUILD (from rev 398069, python-bleach/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-20 12:35:28 UTC (rev 398070)
@@ -0,0 +1,53 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgbase=python-bleach
+pkgname=(python-bleach python2-bleach)
+pkgver=3.0.2
+pkgrel=1
+
+pkgdesc="An easy whitelist-based HTML-sanitizing tool"
+url="https://pypi.org/project/bleach/"
+arch=('any')
+license=('Apache')
+makedepends=('python'
+             'python-setuptools'
+             'python2'
+             'python2-setuptools')
+checkdepends=('python-pytest'
+              'python-webencodings'
+              'python2-pytest'
+              'python2-webencodings')
+
+source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
+
+sha256sums=('48d39675b80a75f6d1c3bdbffec791cf0bbbab665cf01e20da701c77de278718')
+
+prepare() {
+	cp -a bleach-$pkgver{,-python2}
+}
+
+build() {
+	cd "$srcdir"/bleach-$pkgver
+	python setup.py build
+
+	cd "$srcdir"/bleach-$pkgver-python2
+	python2 setup.py build
+}
+
+check() {
+	cd "$srcdir"/bleach-$pkgver
+	python -m pytest
+
+	cd "$srcdir"/bleach-$pkgver-python2
+	python2 -m pytest
+}
+
+package_python-bleach() {
+	cd "$srcdir"/bleach-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-bleach() {
+	cd "$srcdir"/bleach-$pkgver-python2
+	python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list