[arch-commits] Commit in python-markdown/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Wed Nov 17 23:27:26 UTC 2021
Date: Wednesday, November 17, 2021 @ 23:27:25
Author: alerque
Revision: 1051292
archrelease: copy trunk to community-any
Added:
python-markdown/repos/community-any/PKGBUILD
(from rev 1051291, python-markdown/trunk/PKGBUILD)
Deleted:
python-markdown/repos/community-any/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-17 23:26:08 UTC (rev 1051291)
+++ PKGBUILD 2021-11-17 23:27:25 UTC (rev 1051292)
@@ -1,37 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Andrew Antle <andrew dot antle at gmail dot com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
-
-pkgname=python-markdown
-_pkgbasename=Markdown
-pkgver=3.3.5
-pkgrel=1
-pkgdesc="Python implementation of John Gruber's Markdown."
-arch=('any')
-url='https://python-markdown.github.io/'
-license=('BSD')
-depends=('python-importlib-metadata')
-makedepends=('python-setuptools')
-checkdepends=('python-yaml')
-source=("https://files.pythonhosted.org/packages/source/M/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
-sha256sums=('26e9546bfbcde5fcd072bd8f612c9c1b6e2677cb8aadbdf65206674f46dde069')
-
-build() {
- cd "$srcdir/$_pkgbasename-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$srcdir/$_pkgbasename-$pkgver"
- [[ $(python -c "import markdown; print(markdown.version)") == "$pkgver" ]]
- [[ $(python -c "import markdown; print(markdown.markdown('*test*'))") == "<p><em>test</em></p>" ]]
- python -m unittest discover tests
-}
-
-package() {
- cd "$srcdir/$_pkgbasename-$pkgver"
- python3 setup.py install --root="$pkgdir" --optimize=0
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/python-markdown/LICENSE"
-}
Copied: python-markdown/repos/community-any/PKGBUILD (from rev 1051291, python-markdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-17 23:27:25 UTC (rev 1051292)
@@ -0,0 +1,38 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrew Antle <andrew dot antle at gmail dot com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
+
+pkgname=python-markdown
+_pkgbasename=Markdown
+pkgver=3.3.6
+pkgrel=1
+pkgdesc="Python implementation of John Gruber's Markdown."
+arch=('any')
+url='https://python-markdown.github.io/'
+license=('BSD')
+depends=('python-importlib-metadata')
+makedepends=('python-setuptools')
+checkdepends=('python-yaml')
+source=("https://files.pythonhosted.org/packages/source/M/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
+sha256sums=('76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006')
+
+build() {
+ cd "$_pkgbasename-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$_pkgbasename-$pkgver"
+ [[ $(python -c "import markdown; print(markdown.version)") == "$pkgver" ]]
+ [[ $(python -c "import markdown; print(markdown.markdown('*test*'))") == "<p><em>test</em></p>" ]]
+ python -m unittest discover tests
+}
+
+package() {
+ cd "$_pkgbasename-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/python-markdown/LICENSE"
+}
More information about the arch-commits
mailing list