[arch-commits] Commit in python-markupsafe/repos (2 files)

Johannes Löthberg demize at archlinux.org
Wed May 12 17:52:35 UTC 2021


    Date: Wednesday, May 12, 2021 @ 17:52:35
  Author: demize
Revision: 415072

archrelease: copy trunk to testing-x86_64

Added:
  python-markupsafe/repos/testing-x86_64/
  python-markupsafe/repos/testing-x86_64/PKGBUILD
    (from rev 415071, python-markupsafe/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-markupsafe/repos/testing-x86_64/PKGBUILD (from rev 415071, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-05-12 17:52:35 UTC (rev 415072)
@@ -0,0 +1,33 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=python-markupsafe
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/MarkupSafe"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/markupsafe/archive/$pkgver.tar.gz")
+sha512sums=('acbda651777caeb498da61cac09c89ad0192be402e4dbe6864cf586cd3e74dc34e625f7402f8e8f905ad350f9e8b3f536c5f31780043fe7fa6ad885e1742657b')
+
+build() {
+  cd markupsafe-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd markupsafe-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd markupsafe-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/python-markupsafe/LICENSE.rst
+}



More information about the arch-commits mailing list