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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 15:00:28 UTC 2021


    Date: Tuesday, November 30, 2021 @ 15:00:28
  Author: felixonmars
Revision: 429593

archrelease: copy trunk to staging-x86_64

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

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

Copied: python-markupsafe/repos/staging-x86_64/PKGBUILD (from rev 429592, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-30 15:00:28 UTC (rev 429593)
@@ -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.1
+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=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/markupsafe/archive/$pkgver.tar.gz")
+sha512sums=('f9a32c6aebd5057b85ac374d24d14b4ffbe627858932ba551c0cf60f4100afef17436a0c822f195d070b7f0cd73fb099d1726f07b50c30068a0bae500c6387e0')
+
+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