[arch-commits] Commit in python-bleach/repos/community-any (PKGBUILD PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Wed Oct 24 18:46:16 UTC 2018
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
===================================================================
--- PKGBUILD 2018-10-24 18:46:11 UTC (rev 398877)
+++ PKGBUILD 2018-10-24 18:46:15 UTC (rev 398878)
@@ -1,53 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgbase=python-bleach
-pkgname=(python-bleach python2-bleach)
-pkgver=3.0.2
-pkgrel=1
-
-pkgdesc="An easy whitelist-based HTML-sanitizing tool"
-url="https://pypi.org/project/bleach/"
-arch=('any')
-license=('Apache')
-makedepends=('python'
- 'python-setuptools'
- 'python2'
- 'python2-setuptools')
-checkdepends=('python-pytest'
- 'python-webencodings'
- 'python2-pytest'
- 'python2-webencodings')
-
-source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
-
-sha256sums=('48d39675b80a75f6d1c3bdbffec791cf0bbbab665cf01e20da701c77de278718')
-
-prepare() {
- cp -a bleach-$pkgver{,-python2}
-}
-
-build() {
- cd "$srcdir"/bleach-$pkgver
- python setup.py build
-
- cd "$srcdir"/bleach-$pkgver-python2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/bleach-$pkgver
- python -m pytest
-
- cd "$srcdir"/bleach-$pkgver-python2
- python2 -m pytest
-}
-
-package_python-bleach() {
- cd "$srcdir"/bleach-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-bleach() {
- cd "$srcdir"/bleach-$pkgver-python2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-bleach/repos/community-any/PKGBUILD (from rev 398877, python-bleach/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-24 18:46:15 UTC (rev 398878)
@@ -0,0 +1,57 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+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
+}
More information about the arch-commits
mailing list