[arch-commits] Commit in python-bleach/repos/community-staging-any (4 files)
Date: Thursday, November 12, 2020 @ 08:30:10 Author: foutrelis Revision: 751333 archrelease: copy trunk to community-staging-any Added: python-bleach/repos/community-staging-any/PKGBUILD (from rev 751332, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-staging-any/pytest5.patch (from rev 751332, python-bleach/trunk/pytest5.patch) Deleted: python-bleach/repos/community-staging-any/PKGBUILD python-bleach/repos/community-staging-any/pytest5.patch ---+ PKGBUILD | 76 ++-- pytest5.patch | 46 - 2 files changed, 65 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-11-12 08:30:06 UTC (rev 751332) +++ PKGBUILD2020-11-12 08:30:10 UTC (rev 751333) @@ -1,34 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgname=python-bleach -pkgver=3.2.1 -pkgrel=2 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -depends=('python-webencodings') -makedepends=('python' - 'python-setuptools') -checkdepends=('python-pytest') - -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) - -sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080') - -build() { - cd "$srcdir"/bleach-$pkgver - python setup.py build -} - -# Upstream broke the test suite. -check() { - cd "$srcdir"/bleach-$pkgver - python -m pytest -} - -package() { - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-bleach/repos/community-staging-any/PKGBUILD (from rev 751332, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-11-12 08:30:10 UTC (rev 751333) @@ -0,0 +1,42 @@ +# Maintainer: Johannes Löthberg + +pkgname=python-bleach +pkgver=3.2.1 +pkgrel=3 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +depends=('python-webencodings') +makedepends=('python' + 'python-setuptools') +checkdepends=('python-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz + $pkgname-py39.patch::https://github.com/mozilla/bleach/commit/9ba905729f17.patch) + +sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080' +'5b47567a3d47c8e4464b63d5d50abc38da55f2a67d2fa2f7c65041191ea6c156') + +prepare() { + cd "$srcdir"/bleach-$pkgver + # https://github.com/mozilla/bleach/pull/565 + patch -Np1 -i ../$pkgname-py39.patch +} + +build() { + cd "$srcdir"/bleach-$pkgver + python setup.py build +} + +# Upstream broke the test suite. +check() { + cd "$srcdir"/bleach-$pkgver + python -m pytest +} + +package() { + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} Deleted: pytest5.patch === --- pytest5.patch 2020-11-12 08:30:06 UTC (rev 751332) +++ pytest5.patch 2020-11-12 08:30:10 UTC (rev 751333) @@ -1,23 +0,0 @@ -From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 -From: Emin Mastizada -Date: Wed, 16 Oct 2019 17:47:27 +0300 -Subject: [PATCH] Support pytest5 syntax for tests - -diff --git a/tests/test_clean.py b/tests/test_clean.py -index e306cc5..d041ffa 100644 a/tests/test_clean.py -+++ b/tests/test_clean.py -@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): - - with pytest.raises(TypeError) as e: - clean(some_type) --assert "argument cannot be of 'type' type" in str(e) -+assert "argument cannot be of 'type' type" in str(e.value) - - with pytest.raises(TypeError) as e: - clean(no_type) --assert "NoneType" in str(e) -+assert "NoneType" in str(e.value) - - - def test_empty(): Copied: python-bleach/repos/community-staging-any/pytest5.patch (from rev 751332, python-bleach/trunk/pytest5.patch) === --- pytest5.patch (rev 0) +++ pytest5.patch 2020-11-12 08:30:10 UTC (rev 751333) @@ -0,0 +1,23 @@ +From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 +From: Emin Mastizada +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 08:30:06 Author: foutrelis Revision: 751332 upgpkg: python-bleach 3.2.1-3: Python 3.9 rebuild Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 08:29:39 UTC (rev 751331) +++ PKGBUILD2020-11-12 08:30:06 UTC (rev 751332) @@ -2,7 +2,7 @@ pkgname=python-bleach pkgver=3.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/;
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 08:29:39 Author: foutrelis Revision: 751331 Add still-in-review fix for Python 3.9 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 08:05:05 UTC (rev 751330) +++ PKGBUILD2020-11-12 08:29:39 UTC (rev 751331) @@ -13,10 +13,18 @@ 'python-setuptools') checkdepends=('python-pytest') -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz + $pkgname-py39.patch::https://github.com/mozilla/bleach/commit/9ba905729f17.patch) -sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080') +sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080' +'5b47567a3d47c8e4464b63d5d50abc38da55f2a67d2fa2f7c65041191ea6c156') +prepare() { + cd "$srcdir"/bleach-$pkgver + # https://github.com/mozilla/bleach/pull/565 + patch -Np1 -i ../$pkgname-py39.patch +} + build() { cd "$srcdir"/bleach-$pkgver python setup.py build
[arch-commits] Commit in python-bleach/repos (3 files)
Date: Monday, November 9, 2020 @ 16:54:30 Author: foutrelis Revision: 747682 archrelease: copy trunk to community-staging-any Added: python-bleach/repos/community-staging-any/ python-bleach/repos/community-staging-any/PKGBUILD (from rev 747679, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-staging-any/pytest5.patch (from rev 747680, python-bleach/trunk/pytest5.patch) ---+ PKGBUILD | 34 ++ pytest5.patch | 23 +++ 2 files changed, 57 insertions(+) Copied: python-bleach/repos/community-staging-any/PKGBUILD (from rev 747679, python-bleach/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-09 16:54:30 UTC (rev 747682) @@ -0,0 +1,34 @@ +# Maintainer: Johannes Löthberg + +pkgname=python-bleach +pkgver=3.2.1 +pkgrel=2 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +depends=('python-webencodings') +makedepends=('python' + 'python-setuptools') +checkdepends=('python-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) + +sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080') + +build() { + cd "$srcdir"/bleach-$pkgver + python setup.py build +} + +# Upstream broke the test suite. +check() { + cd "$srcdir"/bleach-$pkgver + python -m pytest +} + +package() { + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} Copied: python-bleach/repos/community-staging-any/pytest5.patch (from rev 747680, python-bleach/trunk/pytest5.patch) === --- community-staging-any/pytest5.patch (rev 0) +++ community-staging-any/pytest5.patch 2020-11-09 16:54:30 UTC (rev 747682) @@ -0,0 +1,23 @@ +From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 +From: Emin Mastizada +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 16:54:26 Author: foutrelis Revision: 747678 upgpkg: python-bleach 3.2.1-2: Python 3.9 rebuild Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 16:54:25 UTC (rev 747677) +++ PKGBUILD2020-11-09 16:54:26 UTC (rev 747678) @@ -2,7 +2,7 @@ pkgname=python-bleach pkgver=3.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/;
[arch-commits] Commit in python-bleach/repos/community-any (4 files)
Date: Wednesday, October 7, 2020 @ 20:43:23 Author: jelle Revision: 720981 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 720980, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-any/pytest5.patch (from rev 720980, python-bleach/trunk/pytest5.patch) Deleted: python-bleach/repos/community-any/PKGBUILD python-bleach/repos/community-any/pytest5.patch ---+ PKGBUILD | 68 pytest5.patch | 46 ++--- 2 files changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-10-07 20:43:17 UTC (rev 720980) +++ PKGBUILD2020-10-07 20:43:23 UTC (rev 720981) @@ -1,34 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgname=python-bleach -pkgver=3.1.5 -pkgrel=1 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -depends=('python-webencodings') -makedepends=('python' - 'python-setuptools') -checkdepends=('python-pytest') - -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) - -sha256sums=('3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b') - -build() { - cd "$srcdir"/bleach-$pkgver - python setup.py build -} - -# Upstream broke the test suite. -#check() { -# cd "$srcdir"/bleach-$pkgver -# python -m pytest -#} - -package() { - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 720980, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-07 20:43:23 UTC (rev 720981) @@ -0,0 +1,34 @@ +# Maintainer: Johannes Löthberg + +pkgname=python-bleach +pkgver=3.2.1 +pkgrel=1 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +depends=('python-webencodings') +makedepends=('python' + 'python-setuptools') +checkdepends=('python-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) + +sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080') + +build() { + cd "$srcdir"/bleach-$pkgver + python setup.py build +} + +# Upstream broke the test suite. +check() { + cd "$srcdir"/bleach-$pkgver + python -m pytest +} + +package() { + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} Deleted: pytest5.patch === --- pytest5.patch 2020-10-07 20:43:17 UTC (rev 720980) +++ pytest5.patch 2020-10-07 20:43:23 UTC (rev 720981) @@ -1,23 +0,0 @@ -From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 -From: Emin Mastizada -Date: Wed, 16 Oct 2019 17:47:27 +0300 -Subject: [PATCH] Support pytest5 syntax for tests - -diff --git a/tests/test_clean.py b/tests/test_clean.py -index e306cc5..d041ffa 100644 a/tests/test_clean.py -+++ b/tests/test_clean.py -@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): - - with pytest.raises(TypeError) as e: - clean(some_type) --assert "argument cannot be of 'type' type" in str(e) -+assert "argument cannot be of 'type' type" in str(e.value) - - with pytest.raises(TypeError) as e: - clean(no_type) --assert "NoneType" in str(e) -+assert "NoneType" in str(e.value) - - - def test_empty(): Copied: python-bleach/repos/community-any/pytest5.patch (from rev 720980, python-bleach/trunk/pytest5.patch) === --- pytest5.patch (rev 0) +++ pytest5.patch 2020-10-07 20:43:23 UTC (rev 720981) @@ -0,0 +1,23 @@ +From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 +From: Emin Mastizada +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Wednesday, October 7, 2020 @ 20:43:17 Author: jelle Revision: 720980 upgpkg: python-bleach 3.2.1-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-07 20:43:02 UTC (rev 720979) +++ PKGBUILD2020-10-07 20:43:17 UTC (rev 720980) @@ -1,7 +1,7 @@ # Maintainer: Johannes Löthberg pkgname=python-bleach -pkgver=3.1.5 +pkgver=3.2.1 pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" @@ -15,7 +15,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b') +sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080') build() { cd "$srcdir"/bleach-$pkgver @@ -23,10 +23,10 @@ } # Upstream broke the test suite. -#check() { -# cd "$srcdir"/bleach-$pkgver -# python -m pytest -#} +check() { + cd "$srcdir"/bleach-$pkgver + python -m pytest +} package() { cd "$srcdir"/bleach-$pkgver
[arch-commits] Commit in python-bleach/repos/community-any (4 files)
Date: Saturday, May 9, 2020 @ 11:27:25 Author: jelle Revision: 625943 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 625942, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-any/pytest5.patch (from rev 625942, python-bleach/trunk/pytest5.patch) Deleted: python-bleach/repos/community-any/PKGBUILD python-bleach/repos/community-any/pytest5.patch ---+ PKGBUILD | 68 pytest5.patch | 46 ++--- 2 files changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-05-09 11:27:14 UTC (rev 625942) +++ PKGBUILD2020-05-09 11:27:25 UTC (rev 625943) @@ -1,34 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgname=python-bleach -pkgver=3.1.3 -pkgrel=1 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -depends=('python-webencodings') -makedepends=('python' - 'python-setuptools') -checkdepends=('python-pytest') - -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) - -sha256sums=('f8dfd8a7e26443e986c4e44df31870da8e906ea61096af06ba5d5cc2d519842a') - -build() { - cd "$srcdir"/bleach-$pkgver - python setup.py build -} - -# Upstream broke the test suite. -#check() { -# cd "$srcdir"/bleach-$pkgver -# python -m pytest -#} - -package() { - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 625942, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-05-09 11:27:25 UTC (rev 625943) @@ -0,0 +1,34 @@ +# Maintainer: Johannes Löthberg + +pkgname=python-bleach +pkgver=3.1.5 +pkgrel=1 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +depends=('python-webencodings') +makedepends=('python' + 'python-setuptools') +checkdepends=('python-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) + +sha256sums=('3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b') + +build() { + cd "$srcdir"/bleach-$pkgver + python setup.py build +} + +# Upstream broke the test suite. +#check() { +# cd "$srcdir"/bleach-$pkgver +# python -m pytest +#} + +package() { + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} Deleted: pytest5.patch === --- pytest5.patch 2020-05-09 11:27:14 UTC (rev 625942) +++ pytest5.patch 2020-05-09 11:27:25 UTC (rev 625943) @@ -1,23 +0,0 @@ -From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 -From: Emin Mastizada -Date: Wed, 16 Oct 2019 17:47:27 +0300 -Subject: [PATCH] Support pytest5 syntax for tests - -diff --git a/tests/test_clean.py b/tests/test_clean.py -index e306cc5..d041ffa 100644 a/tests/test_clean.py -+++ b/tests/test_clean.py -@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): - - with pytest.raises(TypeError) as e: - clean(some_type) --assert "argument cannot be of 'type' type" in str(e) -+assert "argument cannot be of 'type' type" in str(e.value) - - with pytest.raises(TypeError) as e: - clean(no_type) --assert "NoneType" in str(e) -+assert "NoneType" in str(e.value) - - - def test_empty(): Copied: python-bleach/repos/community-any/pytest5.patch (from rev 625942, python-bleach/trunk/pytest5.patch) === --- pytest5.patch (rev 0) +++ pytest5.patch 2020-05-09 11:27:25 UTC (rev 625943) @@ -0,0 +1,23 @@ +From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 +From: Emin Mastizada +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, May 9, 2020 @ 11:27:14 Author: jelle Revision: 625942 upgpkg: python-bleach 3.1.5-1 Upstream update Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-09 11:11:21 UTC (rev 625941) +++ PKGBUILD2020-05-09 11:27:14 UTC (rev 625942) @@ -1,7 +1,7 @@ # Maintainer: Johannes Löthberg pkgname=python-bleach -pkgver=3.1.3 +pkgver=3.1.5 pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" @@ -15,7 +15,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('f8dfd8a7e26443e986c4e44df31870da8e906ea61096af06ba5d5cc2d519842a') +sha256sums=('3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b') build() { cd "$srcdir"/bleach-$pkgver
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Wednesday, March 25, 2020 @ 19:51:05 Author: jelle Revision: 604376 upgpkg: python-bleach 3.1.3-1 Upstream update Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-25 19:22:56 UTC (rev 604375) +++ PKGBUILD2020-03-25 19:51:05 UTC (rev 604376) @@ -1,7 +1,7 @@ # Maintainer: Johannes Löthberg pkgname=python-bleach -pkgver=3.1.1 +pkgver=3.1.3 pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" @@ -13,17 +13,10 @@ 'python-setuptools') checkdepends=('python-pytest') -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz -pytest5.patch) +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('aa8b870d0f46965bac2c073a93444636b0e1ca74e9777e34f03dd494b8a59d48' -'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') +sha256sums=('f8dfd8a7e26443e986c4e44df31870da8e906ea61096af06ba5d5cc2d519842a') -prepare() { - # https://github.com/mozilla/bleach/pull/483 - patch -Np1 -d bleach-$pkgver
[arch-commits] Commit in python-bleach/repos/community-any (4 files)
Date: Wednesday, March 25, 2020 @ 19:51:13 Author: jelle Revision: 604377 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 604376, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-any/pytest5.patch (from rev 604376, python-bleach/trunk/pytest5.patch) Deleted: python-bleach/repos/community-any/PKGBUILD python-bleach/repos/community-any/pytest5.patch ---+ PKGBUILD | 75 +--- pytest5.patch | 46 +- 2 files changed, 57 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-25 19:51:05 UTC (rev 604376) +++ PKGBUILD2020-03-25 19:51:13 UTC (rev 604377) @@ -1,41 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgname=python-bleach -pkgver=3.1.1 -pkgrel=1 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -depends=('python-webencodings') -makedepends=('python' - 'python-setuptools') -checkdepends=('python-pytest') - -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz -pytest5.patch) - -sha256sums=('aa8b870d0f46965bac2c073a93444636b0e1ca74e9777e34f03dd494b8a59d48' -'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') - -prepare() { - # https://github.com/mozilla/bleach/pull/483 - patch -Np1 -d bleach-$pkgver + +pkgname=python-bleach +pkgver=3.1.3 +pkgrel=1 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +depends=('python-webencodings') +makedepends=('python' + 'python-setuptools') +checkdepends=('python-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) + +sha256sums=('f8dfd8a7e26443e986c4e44df31870da8e906ea61096af06ba5d5cc2d519842a') + +build() { + cd "$srcdir"/bleach-$pkgver + python setup.py build +} + +# Upstream broke the test suite. +#check() { +# cd "$srcdir"/bleach-$pkgver +# python -m pytest +#} + +package() { + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} Deleted: pytest5.patch === --- pytest5.patch 2020-03-25 19:51:05 UTC (rev 604376) +++ pytest5.patch 2020-03-25 19:51:13 UTC (rev 604377) @@ -1,23 +0,0 @@ -From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 -From: Emin Mastizada -Date: Wed, 16 Oct 2019 17:47:27 +0300 -Subject: [PATCH] Support pytest5 syntax for tests - -diff --git a/tests/test_clean.py b/tests/test_clean.py -index e306cc5..d041ffa 100644 a/tests/test_clean.py -+++ b/tests/test_clean.py -@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): - - with pytest.raises(TypeError) as e: - clean(some_type) --assert "argument cannot be of 'type' type" in str(e) -+assert "argument cannot be of 'type' type" in str(e.value) - - with pytest.raises(TypeError) as e: - clean(no_type) --assert "NoneType" in str(e) -+assert "NoneType" in str(e.value) - - - def test_empty(): Copied: python-bleach/repos/community-any/pytest5.patch (from rev 604376, python-bleach/trunk/pytest5.patch) === --- pytest5.patch (rev 0) +++ pytest5.patch 2020-03-25 19:51:13 UTC (rev 604377) @@ -0,0 +1,23 @@ +From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 +From: Emin Mastizada +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/repos/community-any (4 files)
Date: Tuesday, March 3, 2020 @ 11:32:05 Author: demize Revision: 589613 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 589612, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-any/pytest5.patch (from rev 589612, python-bleach/trunk/pytest5.patch) Deleted: python-bleach/repos/community-any/PKGBUILD python-bleach/repos/community-any/pytest5.patch ---+ PKGBUILD | 102 ++-- pytest5.patch | 46 - 2 files changed, 64 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-03 11:31:59 UTC (rev 589612) +++ PKGBUILD2020-03-03 11:32:05 UTC (rev 589613) @@ -1,61 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=3.1.0 -pkgrel=3 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -makedepends=('python' - 'python-setuptools' - 'python-webencodings' - 'python2' - 'python2-setuptools' - 'python2-webencodings') -checkdepends=('python-pytest' - 'python2-pytest') - -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz -pytest5.patch) - -sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa' -'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') - -prepare() { - # https://github.com/mozilla/bleach/pull/483 - patch -Np1 -d bleach-$pkgver + +pkgname=python-bleach +pkgver=3.1.1 +pkgrel=1 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +depends=('python-webencodings') +makedepends=('python' + 'python-setuptools') +checkdepends=('python-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz +pytest5.patch) + +sha256sums=('aa8b870d0f46965bac2c073a93444636b0e1ca74e9777e34f03dd494b8a59d48' +'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') + +prepare() { + # https://github.com/mozilla/bleach/pull/483 + patch -Np1 -d bleach-$pkgver -Date: Wed, 16 Oct 2019 17:47:27 +0300 -Subject: [PATCH] Support pytest5 syntax for tests - -diff --git a/tests/test_clean.py b/tests/test_clean.py -index e306cc5..d041ffa 100644 a/tests/test_clean.py -+++ b/tests/test_clean.py -@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): - - with pytest.raises(TypeError) as e: - clean(some_type) --assert "argument cannot be of 'type' type" in str(e) -+assert "argument cannot be of 'type' type" in str(e.value) - - with pytest.raises(TypeError) as e: - clean(no_type) --assert "NoneType" in str(e) -+assert "NoneType" in str(e.value) - - - def test_empty(): Copied: python-bleach/repos/community-any/pytest5.patch (from rev 589612, python-bleach/trunk/pytest5.patch) === --- pytest5.patch (rev 0) +++ pytest5.patch 2020-03-03 11:32:05 UTC (rev 589613) @@ -0,0 +1,23 @@ +From 9201b4708a90dc1f841285c6ec47814f6ed17495 Mon Sep 17 00:00:00 2001 +From: Emin Mastizada +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Tuesday, March 3, 2020 @ 11:31:59 Author: demize Revision: 589612 upgpkg: python-bleach 3.1.1-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-03 11:30:27 UTC (rev 589611) +++ PKGBUILD2020-03-03 11:31:59 UTC (rev 589612) @@ -1,8 +1,8 @@ # Maintainer: Johannes Löthberg pkgname=python-bleach -pkgver=3.1.0 -pkgrel=4 +pkgver=3.1.1 +pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/; @@ -16,7 +16,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz pytest5.patch) -sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa' +sha256sums=('aa8b870d0f46965bac2c073a93444636b0e1ca74e9777e34f03dd494b8a59d48' 'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') prepare() { @@ -29,10 +29,11 @@ python setup.py build } -check() { - cd "$srcdir"/bleach-$pkgver - python -m pytest -} +# Upstream broke the test suite. +#check() { +# cd "$srcdir"/bleach-$pkgver +# python -m pytest +#} package() { cd "$srcdir"/bleach-$pkgver
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Wednesday, January 1, 2020 @ 20:12:23 Author: jelle Revision: 545918 Remove python2 module Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 33 ++--- 1 file changed, 6 insertions(+), 27 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-01 20:01:55 UTC (rev 545917) +++ PKGBUILD2020-01-01 20:12:23 UTC (rev 545918) @@ -1,22 +1,17 @@ # Maintainer: Johannes Löthberg -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) +pkgname=python-bleach pkgver=3.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/; arch=('any') license=('Apache') +depends=('python-webencodings') makedepends=('python' - 'python-setuptools' - 'python-webencodings' - 'python2' - 'python2-setuptools' - 'python2-webencodings') -checkdepends=('python-pytest' - 'python2-pytest') + 'python-setuptools') +checkdepends=('python-pytest') source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz pytest5.patch) @@ -27,35 +22,19 @@ prepare() { # https://github.com/mozilla/bleach/pull/483 patch -Np1 -d bleach-$pkgver
[arch-commits] Commit in python-bleach/repos/community-staging-any (3 files)
Date: Friday, November 1, 2019 @ 14:56:24 Author: felixonmars Revision: 522040 archrelease: copy trunk to community-staging-any Added: python-bleach/repos/community-staging-any/PKGBUILD (from rev 522039, python-bleach/trunk/PKGBUILD) python-bleach/repos/community-staging-any/pytest5.patch (from rev 522039, python-bleach/trunk/pytest5.patch) Deleted: python-bleach/repos/community-staging-any/PKGBUILD ---+ PKGBUILD | 118 pytest5.patch | 23 ++ 2 files changed, 84 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-01 14:56:09 UTC (rev 522039) +++ PKGBUILD2019-11-01 14:56:24 UTC (rev 522040) @@ -1,57 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=3.1.0 -pkgrel=2 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -makedepends=('python' - 'python-setuptools' - 'python-webencodings' - 'python2' - 'python2-setuptools' - 'python2-webencodings') -checkdepends=('python-pytest' - 'python2-pytest') - -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) - -sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa') - -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-webencodings') - - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-bleach() { - depends=('python2-webencodings') - - cd "$srcdir"/bleach-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-bleach/repos/community-staging-any/PKGBUILD (from rev 522039, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-01 14:56:24 UTC (rev 522040) @@ -0,0 +1,61 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=3.1.0 +pkgrel=3 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +makedepends=('python' + 'python-setuptools' + 'python-webencodings' + 'python2' + 'python2-setuptools' + 'python2-webencodings') +checkdepends=('python-pytest' + 'python2-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz +pytest5.patch) + +sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa' +'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') + +prepare() { + # https://github.com/mozilla/bleach/pull/483 + patch -Np1 -d bleach-$pkgver +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Friday, November 1, 2019 @ 14:56:09 Author: felixonmars Revision: 522039 Python 3.8 rebuild Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 14:55:02 UTC (rev 522038) +++ PKGBUILD2019-11-01 14:56:09 UTC (rev 522039) @@ -3,7 +3,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=3.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/;
[arch-commits] Commit in python-bleach/trunk (PKGBUILD pytest5.patch)
Date: Friday, November 1, 2019 @ 14:55:02 Author: foutrelis Revision: 522038 Adjust tests for pytest 5 Added: python-bleach/trunk/pytest5.patch Modified: python-bleach/trunk/PKGBUILD ---+ PKGBUILD |8 ++-- pytest5.patch | 23 +++ 2 files changed, 29 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 14:41:56 UTC (rev 522037) +++ PKGBUILD2019-11-01 14:55:02 UTC (rev 522038) @@ -18,11 +18,15 @@ checkdepends=('python-pytest' 'python2-pytest') -source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz +pytest5.patch) -sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa') +sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa' +'a1d3dea566e7c56540b83bcd006c730f6c71fe531570fa2c5cccf0a917070bc6') prepare() { + # https://github.com/mozilla/bleach/pull/483 + patch -Np1 -d bleach-$pkgver +Date: Wed, 16 Oct 2019 17:47:27 +0300 +Subject: [PATCH] Support pytest5 syntax for tests + +diff --git a/tests/test_clean.py b/tests/test_clean.py +index e306cc5..d041ffa 100644 +--- a/tests/test_clean.py b/tests/test_clean.py +@@ -24,11 +24,11 @@ def test_only_text_is_cleaned(): + + with pytest.raises(TypeError) as e: + clean(some_type) +-assert "argument cannot be of 'type' type" in str(e) ++assert "argument cannot be of 'type' type" in str(e.value) + + with pytest.raises(TypeError) as e: + clean(no_type) +-assert "NoneType" in str(e) ++assert "NoneType" in str(e.value) + + + def test_empty():
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 19:58:52 Author: felixonmars Revision: 519661 Python 3.8 rebuild Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 19:58:49 UTC (rev 519660) +++ PKGBUILD2019-10-25 19:58:52 UTC (rev 519661) @@ -3,7 +3,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=3.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/;
[arch-commits] Commit in python-bleach/repos (2 files)
Date: Friday, October 25, 2019 @ 19:59:01 Author: felixonmars Revision: 519662 archrelease: copy trunk to community-staging-any Added: python-bleach/repos/community-staging-any/ python-bleach/repos/community-staging-any/PKGBUILD (from rev 519661, python-bleach/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: python-bleach/repos/community-staging-any/PKGBUILD (from rev 519661, python-bleach/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-25 19:59:01 UTC (rev 519662) @@ -0,0 +1,57 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=3.1.0 +pkgrel=2 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +makedepends=('python' + 'python-setuptools' + 'python-webencodings' + 'python2' + 'python2-setuptools' + 'python2-webencodings') +checkdepends=('python-pytest' + 'python2-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) + +sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa') + +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-webencodings') + + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-bleach() { + depends=('python2-webencodings') + + cd "$srcdir"/bleach-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, January 12, 2019 @ 18:21:50 Author: demize Revision: 422730 upgpkg: python-bleach 3.1.0-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-12 17:53:01 UTC (rev 422729) +++ PKGBUILD2019-01-12 18:21:50 UTC (rev 422730) @@ -2,8 +2,8 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=3.0.2 -pkgrel=3 +pkgver=3.1.0 +pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/; @@ -20,7 +20,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('48d39675b80a75f6d1c3bdbffec791cf0bbbab665cf01e20da701c77de278718') +sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa') prepare() { cp -a bleach-$pkgver{,-python2}
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, January 12, 2019 @ 18:21:57 Author: demize Revision: 422731 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 422730, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-12 18:21:50 UTC (rev 422730) +++ PKGBUILD2019-01-12 18:21:57 UTC (rev 422731) @@ -1,57 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=3.0.2 -pkgrel=3 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="https://pypi.org/project/bleach/; -arch=('any') -license=('Apache') -makedepends=('python' - 'python-setuptools' - 'python-webencodings' - 'python2' - 'python2-setuptools' - 'python2-webencodings') -checkdepends=('python-pytest' - 'python2-pytest') - -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() { - depends=('python-webencodings') - - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-bleach() { - depends=('python2-webencodings') - - cd "$srcdir"/bleach-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 422730, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-12 18:21:57 UTC (rev 422731) @@ -0,0 +1,57 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=3.1.0 +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-webencodings' + 'python2' + 'python2-setuptools' + 'python2-webencodings') +checkdepends=('python-pytest' + 'python2-pytest') + +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) + +sha256sums=('3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa') + +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-webencodings') + + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-bleach() { + depends=('python2-webencodings') + + cd "$srcdir"/bleach-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, October 26, 2018 @ 17:29:51 Author: demize Revision: 399138 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 399137, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-26 17:28:51 UTC (rev 399137) +++ PKGBUILD2018-10-26 17:29:51 UTC (rev 399138) @@ -1,57 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=3.0.2 -pkgrel=2 - -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() { - depends=('python-webencodings') - - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-bleach() { - depends=('python2-webencodings') - - cd "$srcdir"/bleach-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 399137, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-26 17:29:51 UTC (rev 399138) @@ -0,0 +1,57 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=3.0.2 +pkgrel=3 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://pypi.org/project/bleach/; +arch=('any') +license=('Apache') +makedepends=('python' + 'python-setuptools' + 'python-webencodings' + 'python2' + 'python2-setuptools' + 'python2-webencodings') +checkdepends=('python-pytest' + 'python2-pytest') + +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() { + depends=('python-webencodings') + + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-bleach() { + depends=('python2-webencodings') + + cd "$srcdir"/bleach-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Friday, October 26, 2018 @ 17:28:51 Author: demize Revision: 399137 upgpkg: python-bleach 3.0.2-3 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-26 17:25:21 UTC (rev 399136) +++ PKGBUILD2018-10-26 17:28:51 UTC (rev 399137) @@ -3,7 +3,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=3.0.2 -pkgrel=2 +pkgrel=3 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/; @@ -11,12 +11,12 @@ license=('Apache') makedepends=('python' 'python-setuptools' + 'python-webencodings' 'python2' - 'python2-setuptools') + 'python2-setuptools' + 'python2-webencodings') checkdepends=('python-pytest' - 'python-webencodings' - 'python2-pytest' - 'python2-webencodings') + 'python2-pytest') source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, October 24, 2018 @ 18:46:15 Author: demize Revision: 398878 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 398877, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 110 +++-- 1 file changed, 57 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-24 18:46:11 UTC (rev 398877) +++ PKGBUILD2018-10-24 18:46:15 UTC (rev 398878) @@ -1,53 +0,0 @@ -# Maintainer: Johannes Löthberg - -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 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 398877, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-24 18:46:15 UTC (rev 398878) @@ -0,0 +1,57 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=3.0.2 +pkgrel=2 + +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() { + depends=('python-webencodings') + + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-bleach() { + depends=('python2-webencodings') + + cd "$srcdir"/bleach-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Wednesday, October 24, 2018 @ 18:46:11 Author: demize Revision: 398877 upgpkg: python-bleach 3.0.2-2 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-10-24 18:43:53 UTC (rev 398876) +++ PKGBUILD2018-10-24 18:46:11 UTC (rev 398877) @@ -3,7 +3,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=3.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/; @@ -43,11 +43,15 @@ } package_python-bleach() { + depends=('python-webencodings') + cd "$srcdir"/bleach-$pkgver python setup.py install --root="$pkgdir" --optimize=1 } package_python2-bleach() { + depends=('python2-webencodings') + cd "$srcdir"/bleach-$pkgver-python2 python2 setup.py install --root="$pkgdir" --optimize=1 }
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2018-10-20 12:35:24 UTC (rev 398069) +++ PKGBUILD2018-10-20 12:35:28 UTC (rev 398070) @@ -1,55 +0,0 @@ -# Maintainer: Johannes Löthberg - -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) +++ PKGBUILD2018-10-20 12:35:28 UTC (rev 398070) @@ -0,0 +1,53 @@ +# Maintainer: Johannes Löthberg + +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 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, October 20, 2018 @ 12:35:24 Author: demize Revision: 398069 upgpkg: python-bleach 3.0.2-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-20 12:30:40 UTC (rev 398068) +++ PKGBUILD2018-10-20 12:35:24 UTC (rev 398069) @@ -2,7 +2,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=2.1.4 +pkgver=3.0.2 pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" @@ -11,16 +11,16 @@ license=('Apache') makedepends=('python' 'python-setuptools' - 'python-html5lib' 'python2' - 'python2-setuptools' - 'python2-html5lib') + 'python2-setuptools') checkdepends=('python-pytest' - 'python2-pytest') + 'python-webencodings' + 'python2-pytest' + 'python2-webencodings') source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('0ee95f6167129859c5dce9b1ca291ebdb5d8cd7e382ca0e237dfd0dad63f63d8') +sha256sums=('48d39675b80a75f6d1c3bdbffec791cf0bbbab665cf01e20da701c77de278718') prepare() { cp -a bleach-$pkgver{,-python2} @@ -43,13 +43,11 @@ } 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 }
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, September 6, 2018 @ 19:13:37 Author: demize Revision: 377891 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 377890, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 110 ++--- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-09-06 19:13:32 UTC (rev 377890) +++ PKGBUILD2018-09-06 19:13:37 UTC (rev 377891) @@ -1,55 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=2.1.3 -pkgrel=2 - -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=('eb7386f632349d10d9ce9d4a838b134d4731571851149f9cc2c05a9a837a9a44') - -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 377890, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-09-06 19:13:37 UTC (rev 377891) @@ -0,0 +1,55 @@ +# Maintainer: Johannes Löthberg + +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 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Thursday, September 6, 2018 @ 19:13:32 Author: demize Revision: 377890 upgpkg: python-bleach 2.1.4-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-06 19:13:28 UTC (rev 377889) +++ PKGBUILD2018-09-06 19:13:32 UTC (rev 377890) @@ -2,8 +2,8 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=2.1.3 -pkgrel=2 +pkgver=2.1.4 +pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="https://pypi.org/project/bleach/; @@ -20,7 +20,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('eb7386f632349d10d9ce9d4a838b134d4731571851149f9cc2c05a9a837a9a44') +sha256sums=('0ee95f6167129859c5dce9b1ca291ebdb5d8cd7e382ca0e237dfd0dad63f63d8') prepare() { cp -a bleach-$pkgver{,-python2}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Monday, July 16, 2018 @ 17:33:46 Author: eschwartz Revision: 360003 upgpkg: python-bleach 2.1.3-2 python 3.7 rebuild add tests Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-16 17:32:52 UTC (rev 360002) +++ PKGBUILD2018-07-16 17:33:46 UTC (rev 360003) @@ -3,16 +3,20 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=2.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="http://pypi.python.org/pypi/bleach; +url="https://pypi.org/project/bleach/; arch=('any') license=('Apache') makedepends=('python' 'python-setuptools' + 'python-html5lib' 'python2' - 'python2-setuptools') + 'python2-setuptools' + 'python2-html5lib') +checkdepends=('python-pytest' + 'python2-pytest') source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) @@ -30,6 +34,14 @@ 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
[arch-commits] Commit in python-bleach/repos (2 files)
Date: Monday, July 16, 2018 @ 17:34:08 Author: eschwartz Revision: 360004 archrelease: copy trunk to community-staging-any Added: python-bleach/repos/community-staging-any/ python-bleach/repos/community-staging-any/PKGBUILD (from rev 360003, python-bleach/trunk/PKGBUILD) --+ PKGBUILD | 55 +++ 1 file changed, 55 insertions(+) Copied: python-bleach/repos/community-staging-any/PKGBUILD (from rev 360003, python-bleach/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-16 17:34:08 UTC (rev 360004) @@ -0,0 +1,55 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=2.1.3 +pkgrel=2 + +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=('eb7386f632349d10d9ce9d4a838b134d4731571851149f9cc2c05a9a837a9a44') + +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 +}
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, March 24, 2018 @ 11:44:26 Author: demize Revision: 311806 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 311805, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-03-24 11:44:16 UTC (rev 311805) +++ PKGBUILD2018-03-24 11:44:26 UTC (rev 311806) @@ -1,43 +0,0 @@ -# Maintainer: Johannes Löthberg- -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=2.1.2 -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) - -sha256sums=('38fc8cbebea4e787d8db55d6f324820c7f74362b70db9142c1ac7920452d1a19') - -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 311805, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-03-24 11:44:26 UTC (rev 311806) @@ -0,0 +1,43 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=2.1.3 +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) + +sha256sums=('eb7386f632349d10d9ce9d4a838b134d4731571851149f9cc2c05a9a837a9a44') + +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 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, March 24, 2018 @ 11:44:09 Author: demize Revision: 311804 upgpkg: python-bleach 2.1.3-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-24 11:43:41 UTC (rev 311803) +++ PKGBUILD2018-03-24 11:44:09 UTC (rev 311804) @@ -2,7 +2,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=2.1.2 +pkgver=2.1.3 pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" @@ -16,7 +16,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -sha256sums=('38fc8cbebea4e787d8db55d6f324820c7f74362b70db9142c1ac7920452d1a19') +sha256sums=('eb7386f632349d10d9ce9d4a838b134d4731571851149f9cc2c05a9a837a9a44') prepare() { cp -a bleach-$pkgver{,-python2}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, January 6, 2018 @ 14:14:14 Author: jleclanche Revision: 279502 upgpkg: python-bleach 2.1.2-1 Upstream release 2.1.2 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-06 14:04:24 UTC (rev 279501) +++ PKGBUILD2018-01-06 14:14:14 UTC (rev 279502) @@ -2,7 +2,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=2.1.1 +pkgver=2.1.2 pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" @@ -16,7 +16,7 @@ source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -md5sums=('7c5dfb1d66ea979b5a465afb12c82ec4') +sha256sums=('38fc8cbebea4e787d8db55d6f324820c7f74362b70db9142c1ac7920452d1a19') prepare() { cp -a bleach-$pkgver{,-python2}
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, January 6, 2018 @ 14:14:27 Author: jleclanche Revision: 279503 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 279502, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-01-06 14:14:14 UTC (rev 279502) +++ PKGBUILD2018-01-06 14:14:27 UTC (rev 279503) @@ -1,43 +0,0 @@ -# Maintainer: Johannes Löthberg- -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 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 279502, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-01-06 14:14:27 UTC (rev 279503) @@ -0,0 +1,43 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=2.1.2 +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) + +sha256sums=('38fc8cbebea4e787d8db55d6f324820c7f74362b70db9142c1ac7920452d1a19') + +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 +}
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2017-10-04 17:07:42 UTC (rev 261554) +++ PKGBUILD2017-10-04 17:07:50 UTC (rev 261555) @@ -1,43 +0,0 @@ -# Maintainer: Johannes Löthberg- -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) +++ PKGBUILD2017-10-04 17:07:50 UTC (rev 261555) @@ -0,0 +1,43 @@ +# Maintainer: Johannes Löthberg + +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 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Wednesday, October 4, 2017 @ 17:07:42 Author: demize Revision: 261554 upgpkg: python-bleach 2.1.1-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-10-04 17:05:31 UTC (rev 261553) +++ PKGBUILD2017-10-04 17:07:42 UTC (rev 261554) @@ -2,8 +2,8 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=2.0.0 -pkgrel=2 +pkgver=2.1.1 +pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="http://pypi.python.org/pypi/bleach; @@ -14,9 +14,9 @@ 'python2' 'python2-setuptools') -source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-2.0.0.tar.gz;) +source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz) -md5sums=('a263ed1c7b16ea10d3b20278852b65d7') +md5sums=('7c5dfb1d66ea979b5a465afb12c82ec4') prepare() { cp -a bleach-$pkgver{,-python2}
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, March 19, 2017 @ 00:08:53 Author: demize Revision: 217206 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 217205, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD --+ PKGBUILD | 85 ++--- 1 file changed, 43 insertions(+), 42 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-03-19 00:07:18 UTC (rev 217205) +++ PKGBUILD2017-03-19 00:08:53 UTC (rev 217206) @@ -1,42 +0,0 @@ -# Maintainer: Johannes Löthberg- -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=2.0.0 -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=("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() { - 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 -} Copied: python-bleach/repos/community-any/PKGBUILD (from rev 217205, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-03-19 00:08:53 UTC (rev 217206) @@ -0,0 +1,43 @@ +# Maintainer: Johannes Löthberg + +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 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Sunday, March 19, 2017 @ 00:07:18 Author: demize Revision: 217205 upgpkg: python-bleach 2.0.0-2 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-18 23:52:14 UTC (rev 217204) +++ PKGBUILD2017-03-19 00:07:18 UTC (rev 217205) @@ -3,13 +3,12 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=2.0.0 -pkgrel=1 +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' @@ -32,11 +31,13 @@ } 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 }
[arch-commits] Commit in python-bleach/trunk (1 file)
Date: Saturday, March 18, 2017 @ 23:52:06 Author: demize Revision: 217203 upgpkg: python-bleach 2.0.0-1 Deleted: python-bleach/trunk/0001-Make-bleach-allow-for-vendored-html5lib-version.patch + 0001-Make-bleach-allow-for-vendored-html5lib-version.patch | 46 --- 1 file changed, 46 deletions(-) Deleted: 0001-Make-bleach-allow-for-vendored-html5lib-version.patch === --- 0001-Make-bleach-allow-for-vendored-html5lib-version.patch 2017-03-18 23:49:29 UTC (rev 217202) +++ 0001-Make-bleach-allow-for-vendored-html5lib-version.patch 2017-03-18 23:52:06 UTC (rev 217203) @@ -1,46 +0,0 @@ -From 51294ef3e472aee3008583750f6e2dbe4c8c5adb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Johannes=20L=C3=B6thberg?=-Date: Sat, 21 Jan 2017 20:08:12 +0100 -Subject: [PATCH] Make bleach allow for vendored html5lib version -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Johannes Löthberg - bleach/__init__.py | 4 - setup.py | 3 --- - 2 files changed, 4 insertions(+), 3 deletions(-) - -diff --git a/bleach/__init__.py b/bleach/__init__.py -index 09dad63..c6f5929 100644 a/bleach/__init__.py -+++ b/bleach/__init__.py -@@ -3,6 +3,10 @@ - from __future__ import unicode_literals - import logging - import re -+import os -+import sys -+ -+sys.path.insert(0, os.path.dirname(__file__)) - - import html5lib - from html5lib.sanitizer import HTMLSanitizer -diff --git a/setup.py b/setup.py -index 908928e..bdcecf6 100644 a/setup.py -+++ b/setup.py -@@ -15,9 +15,6 @@ tests_require = [ - - install_requires = [ - 'six', --# 3 9s up to but not including 8 9s, but not 4 9s or 5 9s because they're --# busted --'html5lib>=0.999,!=0.,!=0.9,<0.', - ] - - --- -2.11.0 -
[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD)
Date: Saturday, March 18, 2017 @ 23:52:14 Author: demize Revision: 217204 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/PKGBUILD (from rev 217203, python-bleach/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: python-bleach/repos/community-any/PKGBUILD (from rev 217203, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-03-18 23:52:14 UTC (rev 217204) @@ -0,0 +1,42 @@ +# Maintainer: Johannes Löthberg+ +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=2.0.0 +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=("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() { + 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 +}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, March 18, 2017 @ 23:35:05 Author: demize Revision: 217200 upgpkg: python-bleach 2.0.0-1 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-18 23:12:03 UTC (rev 217199) +++ PKGBUILD2017-03-18 23:35:05 UTC (rev 217200) @@ -2,8 +2,8 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) -pkgver=1.5.0 -pkgrel=5 +pkgver=2.0.0 +pkgrel=1 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="http://pypi.python.org/pypi/bleach; @@ -15,18 +15,11 @@ 'python2' 'python2-setuptools') -source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz; - "html5lib-python-0.999.tar.gz::https://github.com/html5lib/html5lib-python/archive/0.999.tar.gz; -"0001-Make-bleach-allow-for-vendored-html5lib-version.patch") +source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-2.0.0.tar.gz;) -md5sums=('b663300efdf421b3b727b19d7be9c7e7' - '2ca78b1ec5852779bc121a97da6e8d4d' - 'c7f318607346ce3f151bebd73f15864e') +md5sums=('a263ed1c7b16ea10d3b20278852b65d7') prepare() { - (cd bleach-$pkgver - patch -p1 <"$srcdir"/0001-Make-bleach-allow-for-vendored-html5lib-version.patch) - cp -a bleach-$pkgver{,-python2} } @@ -39,17 +32,11 @@ } package_python-bleach() { - cd "$srcdir"/html5lib-python-0.999 - python setup.py install --root="$pkgdir"/usr/lib/python3.6/site-packages --install-purelib=bleach --optimize=1 - cd "$srcdir"/bleach-$pkgver python setup.py install --root="$pkgdir" --optimize=1 } package_python2-bleach() { - cd "$srcdir"/html5lib-python-0.999 - python2 setup.py install --root="$pkgdir"/usr/lib/python2.7/site-packages --install-purelib=bleach --optimize=1 - cd "$srcdir"/bleach-$pkgver-python2 python2 setup.py install --root="$pkgdir" --optimize=1 }
[arch-commits] Commit in python-bleach/repos/community-any (2 files)
Date: Saturday, March 18, 2017 @ 23:35:53 Author: demize Revision: 217201 archrelease: copy trunk to community-any Deleted: python-bleach/repos/community-any/0001-Make-bleach-allow-for-vendored-html5lib-version.patch python-bleach/repos/community-any/PKGBUILD + 0001-Make-bleach-allow-for-vendored-html5lib-version.patch | 46 - PKGBUILD | 56 --- 2 files changed, 102 deletions(-) Deleted: 0001-Make-bleach-allow-for-vendored-html5lib-version.patch === --- 0001-Make-bleach-allow-for-vendored-html5lib-version.patch 2017-03-18 23:35:05 UTC (rev 217200) +++ 0001-Make-bleach-allow-for-vendored-html5lib-version.patch 2017-03-18 23:35:53 UTC (rev 217201) @@ -1,46 +0,0 @@ -From 51294ef3e472aee3008583750f6e2dbe4c8c5adb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Johannes=20L=C3=B6thberg?=-Date: Sat, 21 Jan 2017 20:08:12 +0100 -Subject: [PATCH] Make bleach allow for vendored html5lib version -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Johannes Löthberg - bleach/__init__.py | 4 - setup.py | 3 --- - 2 files changed, 4 insertions(+), 3 deletions(-) - -diff --git a/bleach/__init__.py b/bleach/__init__.py -index 09dad63..c6f5929 100644 a/bleach/__init__.py -+++ b/bleach/__init__.py -@@ -3,6 +3,10 @@ - from __future__ import unicode_literals - import logging - import re -+import os -+import sys -+ -+sys.path.insert(0, os.path.dirname(__file__)) - - import html5lib - from html5lib.sanitizer import HTMLSanitizer -diff --git a/setup.py b/setup.py -index 908928e..bdcecf6 100644 a/setup.py -+++ b/setup.py -@@ -15,9 +15,6 @@ tests_require = [ - - install_requires = [ - 'six', --# 3 9s up to but not including 8 9s, but not 4 9s or 5 9s because they're --# busted --'html5lib>=0.999,!=0.,!=0.9,<0.', - ] - - --- -2.11.0 - Deleted: PKGBUILD === --- PKGBUILD2017-03-18 23:35:05 UTC (rev 217200) +++ PKGBUILD2017-03-18 23:35:53 UTC (rev 217201) @@ -1,56 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=1.5.0 -pkgrel=5 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="http://pypi.python.org/pypi/bleach; -arch=('any') -license=('Apache') - -makedepends=('python-setuptools' - 'python-html5lib-7-9s' - 'python2-setuptools' - 'python2-html5lib-7-9s') - -source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz; - "html5lib-python-0.999.tar.gz::https://github.com/html5lib/html5lib-python/archive/0.999.tar.gz; -"0001-Make-bleach-allow-for-vendored-html5lib-version.patch") - -md5sums=('b663300efdf421b3b727b19d7be9c7e7' - '2ca78b1ec5852779bc121a97da6e8d4d' - 'c7f318607346ce3f151bebd73f15864e') - -prepare() { - (cd bleach-$pkgver - patch -p1 <"$srcdir"/0001-Make-bleach-allow-for-vendored-html5lib-version.patch) - - 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() { - cd "$srcdir"/html5lib-python-0.999 - python setup.py install --root="$pkgdir"/usr/lib/python3.6/site-packages --install-purelib=bleach --optimize=1 - - cd "$srcdir"/bleach-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-bleach() { - cd "$srcdir"/html5lib-python-0.999 - python2 setup.py install --root="$pkgdir"/usr/lib/python2.7/site-packages --install-purelib=bleach --optimize=1 - - cd "$srcdir"/bleach-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 -}
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, January 21, 2017 @ 19:19:52 Author: demize Revision: 208307 python-bleach: remove html5lib from makedepends Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-21 19:18:17 UTC (rev 208306) +++ PKGBUILD2017-01-21 19:19:52 UTC (rev 208307) @@ -10,10 +10,10 @@ arch=('any') license=('Apache') -makedepends=('python-setuptools' - 'python-html5lib-7-9s' - 'python2-setuptools' - 'python2-html5lib-7-9s') +makedepends=('python' + 'python-setuptools' + 'python2' + 'python2-setuptools') source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz; "html5lib-python-0.999.tar.gz::https://github.com/html5lib/html5lib-python/archive/0.999.tar.gz; @@ -34,7 +34,6 @@ cd "$srcdir"/bleach-$pkgver python setup.py build - cd "$srcdir"/bleach-$pkgver-python2 python2 setup.py build }
[arch-commits] Commit in python-bleach/trunk (2 files)
Date: Saturday, January 21, 2017 @ 19:15:59 Author: demize Revision: 208304 upgpkg: python-bleach 1.5.0-5 Use vendored copy of html5lib until bleach is updated. #52602 Added: python-bleach/trunk/0001-Make-bleach-allow-for-vendored-html5lib-version.patch Modified: python-bleach/trunk/PKGBUILD + 0001-Make-bleach-allow-for-vendored-html5lib-version.patch | 46 +++ PKGBUILD | 24 - 2 files changed, 63 insertions(+), 7 deletions(-) Added: 0001-Make-bleach-allow-for-vendored-html5lib-version.patch === --- 0001-Make-bleach-allow-for-vendored-html5lib-version.patch (rev 0) +++ 0001-Make-bleach-allow-for-vendored-html5lib-version.patch 2017-01-21 19:15:59 UTC (rev 208304) @@ -0,0 +1,46 @@ +From 51294ef3e472aee3008583750f6e2dbe4c8c5adb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Johannes=20L=C3=B6thberg?=+Date: Sat, 21 Jan 2017 20:08:12 +0100 +Subject: [PATCH] Make bleach allow for vendored html5lib version +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Johannes Löthberg +--- + bleach/__init__.py | 4 + setup.py | 3 --- + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/bleach/__init__.py b/bleach/__init__.py +index 09dad63..c6f5929 100644 +--- a/bleach/__init__.py b/bleach/__init__.py +@@ -3,6 +3,10 @@ + from __future__ import unicode_literals + import logging + import re ++import os ++import sys ++ ++sys.path.insert(0, os.path.dirname(__file__)) + + import html5lib + from html5lib.sanitizer import HTMLSanitizer +diff --git a/setup.py b/setup.py +index 908928e..bdcecf6 100644 +--- a/setup.py b/setup.py +@@ -15,9 +15,6 @@ tests_require = [ + + install_requires = [ + 'six', +-# 3 9s up to but not including 8 9s, but not 4 9s or 5 9s because they're +-# busted +-'html5lib>=0.999,!=0.,!=0.9,<0.', + ] + + +-- +2.11.0 + Modified: PKGBUILD === --- PKGBUILD2017-01-21 18:25:59 UTC (rev 208303) +++ PKGBUILD2017-01-21 19:15:59 UTC (rev 208304) @@ -3,7 +3,7 @@ pkgbase=python-bleach pkgname=(python-bleach python2-bleach) pkgver=1.5.0 -pkgrel=3 +pkgrel=5 pkgdesc="An easy whitelist-based HTML-sanitizing tool" url="http://pypi.python.org/pypi/bleach; @@ -11,15 +11,22 @@ license=('Apache') makedepends=('python-setuptools' - 'python-html5lib' + 'python-html5lib-7-9s' 'python2-setuptools' - 'python2-html5lib') + 'python2-html5lib-7-9s') -source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz;) +source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz; + "html5lib-python-0.999.tar.gz::https://github.com/html5lib/html5lib-python/archive/0.999.tar.gz; +"0001-Make-bleach-allow-for-vendored-html5lib-version.patch") -md5sums=('b663300efdf421b3b727b19d7be9c7e7') +md5sums=('b663300efdf421b3b727b19d7be9c7e7' + '2ca78b1ec5852779bc121a97da6e8d4d' + 'c7f318607346ce3f151bebd73f15864e') prepare() { + (cd bleach-$pkgver + patch -p1 <"$srcdir"/0001-Make-bleach-allow-for-vendored-html5lib-version.patch) + cp -a bleach-$pkgver{,-python2} } @@ -27,12 +34,14 @@ 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"/html5lib-python-0.999 + python setup.py install --root="$pkgdir"/usr/lib/python3.6/site-packages --install-purelib=bleach --optimize=1 cd "$srcdir"/bleach-$pkgver python setup.py install --root="$pkgdir" --optimize=1 @@ -39,7 +48,8 @@ } package_python2-bleach() { - depends=('python2-html5lib') + cd "$srcdir"/html5lib-python-0.999 + python2 setup.py install --root="$pkgdir"/usr/lib/python2.7/site-packages --install-purelib=bleach --optimize=1 cd "$srcdir"/bleach-$pkgver-python2 python2 setup.py install --root="$pkgdir" --optimize=1
[arch-commits] Commit in python-bleach/repos/community-any (3 files)
Date: Saturday, January 21, 2017 @ 19:16:07 Author: demize Revision: 208305 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/0001-Make-bleach-allow-for-vendored-html5lib-version.patch (from rev 208304, python-bleach/trunk/0001-Make-bleach-allow-for-vendored-html5lib-version.patch) python-bleach/repos/community-any/PKGBUILD (from rev 208304, python-bleach/trunk/PKGBUILD) Deleted: python-bleach/repos/community-any/PKGBUILD + 0001-Make-bleach-allow-for-vendored-html5lib-version.patch | 46 PKGBUILD | 102 ++- 2 files changed, 102 insertions(+), 46 deletions(-) Copied: python-bleach/repos/community-any/0001-Make-bleach-allow-for-vendored-html5lib-version.patch (from rev 208304, python-bleach/trunk/0001-Make-bleach-allow-for-vendored-html5lib-version.patch) === --- 0001-Make-bleach-allow-for-vendored-html5lib-version.patch (rev 0) +++ 0001-Make-bleach-allow-for-vendored-html5lib-version.patch 2017-01-21 19:16:07 UTC (rev 208305) @@ -0,0 +1,46 @@ +From 51294ef3e472aee3008583750f6e2dbe4c8c5adb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Johannes=20L=C3=B6thberg?=+Date: Sat, 21 Jan 2017 20:08:12 +0100 +Subject: [PATCH] Make bleach allow for vendored html5lib version +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Johannes Löthberg +--- + bleach/__init__.py | 4 + setup.py | 3 --- + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/bleach/__init__.py b/bleach/__init__.py +index 09dad63..c6f5929 100644 +--- a/bleach/__init__.py b/bleach/__init__.py +@@ -3,6 +3,10 @@ + from __future__ import unicode_literals + import logging + import re ++import os ++import sys ++ ++sys.path.insert(0, os.path.dirname(__file__)) + + import html5lib + from html5lib.sanitizer import HTMLSanitizer +diff --git a/setup.py b/setup.py +index 908928e..bdcecf6 100644 +--- a/setup.py b/setup.py +@@ -15,9 +15,6 @@ tests_require = [ + + install_requires = [ + 'six', +-# 3 9s up to but not including 8 9s, but not 4 9s or 5 9s because they're +-# busted +-'html5lib>=0.999,!=0.,!=0.9,<0.', + ] + + +-- +2.11.0 + Deleted: PKGBUILD === --- PKGBUILD2017-01-21 19:15:59 UTC (rev 208304) +++ PKGBUILD2017-01-21 19:16:07 UTC (rev 208305) @@ -1,46 +0,0 @@ -# Maintainer: Johannes Löthberg - -pkgbase=python-bleach -pkgname=(python-bleach python2-bleach) -pkgver=1.5.0 -pkgrel=3 - -pkgdesc="An easy whitelist-based HTML-sanitizing tool" -url="http://pypi.python.org/pypi/bleach; -arch=('any') -license=('Apache') - -makedepends=('python-setuptools' - 'python-html5lib' - 'python2-setuptools' - 'python2-html5lib') - -source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz;) - -md5sums=('b663300efdf421b3b727b19d7be9c7e7') - -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 208304, python-bleach/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-01-21 19:16:07 UTC (rev 208305) @@ -0,0 +1,56 @@ +# Maintainer: Johannes Löthberg + +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=1.5.0 +pkgrel=5 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="http://pypi.python.org/pypi/bleach; +arch=('any') +license=('Apache') + +makedepends=('python-setuptools' + 'python-html5lib-7-9s' + 'python2-setuptools' + 'python2-html5lib-7-9s') + +source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz; + "html5lib-python-0.999.tar.gz::https://github.com/html5lib/html5lib-python/archive/0.999.tar.gz; +"0001-Make-bleach-allow-for-vendored-html5lib-version.patch") + +md5sums=('b663300efdf421b3b727b19d7be9c7e7' + '2ca78b1ec5852779bc121a97da6e8d4d' + 'c7f318607346ce3f151bebd73f15864e') + +prepare() { + (cd
[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Date: Saturday, January 14, 2017 @ 22:33:47 Author: demize Revision: 207431 upgpkg: python-bleach 1.5.0-3 Modified: python-bleach/trunk/PKGBUILD --+ PKGBUILD | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-14 22:26:57 UTC (rev 207430) +++ PKGBUILD2017-01-14 22:33:47 UTC (rev 207431) @@ -10,12 +10,14 @@ arch=('any') license=('Apache') -depends=('python2-html5lib-git') -makedepends=('python2-setuptools') +makedepends=('python-setuptools' + 'python-html5lib' + 'python2-setuptools' + 'python2-html5lib') -source=("python-bleach-$pkgver.tar.gz::https://github.com/mozilla/bleach/archive/v$pkgver.tar.gz;) +source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz;) -md5sums=('c2b7c8c189ff86670a6e6edc3c86a63a') +md5sums=('b663300efdf421b3b727b19d7be9c7e7') prepare() { cp -a bleach-$pkgver{,-python2} @@ -30,11 +32,15 @@ } package_python-bleach() { + depends=('python-html5lib') + cd "$srcdir"/bleach-$pkgver - python setup.py install --root="${pkgdir}" --optimize=1 + python setup.py install --root="$pkgdir" --optimize=1 } -package_python-bleach() { +package_python2-bleach() { + depends=('python2-html5lib') + cd "$srcdir"/bleach-$pkgver-python2 - python2 setup.py install --root="${pkgdir}" --optimize=1 + python2 setup.py install --root="$pkgdir" --optimize=1 }
[arch-commits] Commit in python-bleach/repos (community-any community-any/PKGBUILD)
Date: Saturday, January 14, 2017 @ 22:33:54 Author: demize Revision: 207432 archrelease: copy trunk to community-any Added: python-bleach/repos/community-any/ python-bleach/repos/community-any/PKGBUILD (from rev 207431, python-bleach/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: python-bleach/repos/community-any/PKGBUILD (from rev 207431, python-bleach/trunk/PKGBUILD) === --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2017-01-14 22:33:54 UTC (rev 207432) @@ -0,0 +1,46 @@ +# Maintainer: Johannes Löthberg+ +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=1.5.0 +pkgrel=3 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="http://pypi.python.org/pypi/bleach; +arch=('any') +license=('Apache') + +makedepends=('python-setuptools' + 'python-html5lib' + 'python2-setuptools' + 'python2-html5lib') + +source=("python-bleach-$pkgver.tar.gz::https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz;) + +md5sums=('b663300efdf421b3b727b19d7be9c7e7') + +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 +}
[arch-commits] Commit in python-bleach (repos trunk trunk/PKGBUILD)
Date: Saturday, January 14, 2017 @ 22:26:57 Author: demize Revision: 207430 python-bleach: Import PKGBUILD Added: python-bleach/repos/ python-bleach/trunk/ python-bleach/trunk/PKGBUILD --+ PKGBUILD | 40 1 file changed, 40 insertions(+) Added: trunk/PKGBUILD === --- trunk/PKGBUILD (rev 0) +++ trunk/PKGBUILD 2017-01-14 22:26:57 UTC (rev 207430) @@ -0,0 +1,40 @@ +# Maintainer: Johannes Löthberg+ +pkgbase=python-bleach +pkgname=(python-bleach python2-bleach) +pkgver=1.5.0 +pkgrel=3 + +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="http://pypi.python.org/pypi/bleach; +arch=('any') +license=('Apache') + +depends=('python2-html5lib-git') +makedepends=('python2-setuptools') + +source=("python-bleach-$pkgver.tar.gz::https://github.com/mozilla/bleach/archive/v$pkgver.tar.gz;) + +md5sums=('c2b7c8c189ff86670a6e6edc3c86a63a') + +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() { + cd "$srcdir"/bleach-$pkgver + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python-bleach() { + cd "$srcdir"/bleach-$pkgver-python2 + python2 setup.py install --root="${pkgdir}" --optimize=1 +}
[arch-commits] Commit in (python-bleach)
Date: Saturday, January 14, 2017 @ 22:22:52 Author: demize Revision: 207429 mkdir python-bleach Added: python-bleach/