Date: Wednesday, April 5, 2023 @ 17:49:13
  Author: felixonmars
Revision: 472657

archrelease: copy trunk to staging-x86_64

Added:
  python-markupsafe/repos/staging-x86_64/
  python-markupsafe/repos/staging-x86_64/PKGBUILD
    (from rev 472656, python-markupsafe/trunk/PKGBUILD)

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

Copied: python-markupsafe/repos/staging-x86_64/PKGBUILD (from rev 472656, 
python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2023-04-05 17:49:13 UTC (rev 472657)
@@ -0,0 +1,33 @@
+# Maintainer : Felix Yan <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+# Contributor: Alex Anthony <[email protected]>
+
+pkgname=python-markupsafe
+pkgver=2.1.2
+_commit=c0254f0cfe51720ecc9e72e8896022af29af5b44
+pkgrel=2
+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=('git' 'python-setuptools')
+checkdepends=('python-pytest')
+source=("git+https://github.com/pallets/markupsafe.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd markupsafe
+  python setup.py build
+}
+
+check() {
+  cd markupsafe
+  PYTHONPATH=src pytest
+}
+
+package() {
+  cd markupsafe
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to