[arch-commits] Commit in python-markupsafe/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 10:30:46 UTC 2020
Date: Wednesday, November 11, 2020 @ 10:30:46
Author: felixonmars
Revision: 400285
archrelease: copy trunk to staging-x86_64
Added:
python-markupsafe/repos/staging-x86_64/PKGBUILD
(from rev 400284, python-markupsafe/trunk/PKGBUILD)
Deleted:
python-markupsafe/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 10:30:37 UTC (rev 400284)
+++ PKGBUILD 2020-11-11 10:30:46 UTC (rev 400285)
@@ -1,46 +0,0 @@
-# Maintainer : Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
-
-pkgbase=python-markupsafe
-pkgname=('python-markupsafe' 'python2-markupsafe')
-pkgver=1.1.1
-pkgrel=5
-pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
-arch=('x86_64')
-url="https://pypi.python.org/pypi/MarkupSafe"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pallets/markupsafe/archive/$pkgver.tar.gz")
-sha512sums=('c2a1072c5dd0918e47f9cfbd30b79b0690a43635f7cfc3fdd27f3df52f8e20406d7e3cfadd29df8ab1d1110f50e23eb7c7272707e0739d862d4b1edb59bbc241')
-
-build() {
- cd markupsafe-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd markupsafe-$pkgver
- python setup.py pytest
- python2 setup.py pytest
-}
-
-package_python-markupsafe() {
- depends=('python')
-
- cd markupsafe-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/python-markupsafe/LICENSE.rst
-}
-
-package_python2-markupsafe() {
- depends=('python2')
-
- cd markupsafe-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/python2-markupsafe/LICENSE.rst
-}
Copied: python-markupsafe/repos/staging-x86_64/PKGBUILD (from rev 400284, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 10:30:46 UTC (rev 400285)
@@ -0,0 +1,46 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgbase=python-markupsafe
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=1.1.1
+pkgrel=6
+pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/MarkupSafe"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pallets/markupsafe/archive/$pkgver.tar.gz")
+sha512sums=('c2a1072c5dd0918e47f9cfbd30b79b0690a43635f7cfc3fdd27f3df52f8e20406d7e3cfadd29df8ab1d1110f50e23eb7c7272707e0739d862d4b1edb59bbc241')
+
+build() {
+ cd markupsafe-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd markupsafe-$pkgver
+ python setup.py pytest
+ python2 setup.py pytest
+}
+
+package_python-markupsafe() {
+ depends=('python')
+
+ cd markupsafe-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/python-markupsafe/LICENSE.rst
+}
+
+package_python2-markupsafe() {
+ depends=('python2')
+
+ cd markupsafe-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/python2-markupsafe/LICENSE.rst
+}
More information about the arch-commits
mailing list