[arch-commits] Commit in python-markdown/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 21:36:23 UTC 2021
Date: Thursday, December 2, 2021 @ 21:36:23
Author: felixonmars
Revision: 1062591
archrelease: copy trunk to community-staging-any
Added:
python-markdown/repos/community-staging-any/PKGBUILD
(from rev 1062590, python-markdown/trunk/PKGBUILD)
Deleted:
python-markdown/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 21:36:18 UTC (rev 1062590)
+++ PKGBUILD 2021-12-02 21:36:23 UTC (rev 1062591)
@@ -1,38 +0,0 @@
-# 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=2
-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"
-}
Copied: python-markdown/repos/community-staging-any/PKGBUILD (from rev 1062590, python-markdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 21:36:23 UTC (rev 1062591)
@@ -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=3
+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