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

Johannes Löthberg demize at archlinux.org
Wed Oct 4 17:07:51 UTC 2017


    Date: Wednesday, October 4, 2017 @ 17:07:50
  Author: demize
Revision: 261555

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-04 17:07:42 UTC (rev 261554)
+++ PKGBUILD	2017-10-04 17:07:50 UTC (rev 261555)
@@ -1,43 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgbase=python-bleach
-pkgname=(python-bleach python2-bleach)
-pkgver=2.0.0
-pkgrel=2
-
-pkgdesc="An easy whitelist-based HTML-sanitizing tool"
-url="http://pypi.python.org/pypi/bleach"
-arch=('any')
-license=('Apache')
-makedepends=('python'
-             'python-setuptools'
-             'python2'
-             'python2-setuptools')
-
-source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-2.0.0.tar.gz")
-
-md5sums=('a263ed1c7b16ea10d3b20278852b65d7')
-
-prepare() {
-	cp -a bleach-$pkgver{,-python2}
-}
-
-build() {
-	cd "$srcdir"/bleach-$pkgver
-	python setup.py build
-
-	cd "$srcdir"/bleach-$pkgver-python2
-	python2 setup.py build
-}
-
-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 261554, python-bleach/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-10-04 17:07:50 UTC (rev 261555)
@@ -0,0 +1,43 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgbase=python-bleach
+pkgname=(python-bleach python2-bleach)
+pkgver=2.1.1
+pkgrel=1
+
+pkgdesc="An easy whitelist-based HTML-sanitizing tool"
+url="http://pypi.python.org/pypi/bleach"
+arch=('any')
+license=('Apache')
+makedepends=('python'
+             'python-setuptools'
+             'python2'
+             'python2-setuptools')
+
+source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
+
+md5sums=('7c5dfb1d66ea979b5a465afb12c82ec4')
+
+prepare() {
+	cp -a bleach-$pkgver{,-python2}
+}
+
+build() {
+	cd "$srcdir"/bleach-$pkgver
+	python setup.py build
+
+	cd "$srcdir"/bleach-$pkgver-python2
+	python2 setup.py build
+}
+
+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
+}



More information about the arch-commits mailing list