Date: Wednesday, March 22, 2023 @ 20:02:43
Author: alerque
Revision: 1426949
archrelease: copy trunk to community-any
Added:
python-markdown/repos/community-any/PKGBUILD
(from rev 1426948, python-markdown/trunk/PKGBUILD)
Deleted:
python-markdown/repos/community-any/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-22 20:02:35 UTC (rev 1426948)
+++ PKGBUILD 2023-03-22 20:02:43 UTC (rev 1426949)
@@ -1,51 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Angel Velasquez <[email protected]>
-# 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
-pkgver=3.4.1
-pkgrel=2
-pkgdesc="Python implementation of John Gruber's Markdown"
-arch=('any')
-url='https://python-markdown.github.io/'
-license=('BSD')
-depends=('python')
-makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-checkdepends=('python-yaml')
-_commit='f588d8b0f2877c6aa5ac352d27c6f37bdbd41869'
-source=("$pkgname::git+https://github.com/Python-Markdown/markdown#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd "$pkgname"
-
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "$pkgname"
-
- [[ $(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 "$pkgname"
-
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
-}
Copied: python-markdown/repos/community-any/PKGBUILD (from rev 1426948,
python-markdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-22 20:02:43 UTC (rev 1426949)
@@ -0,0 +1,52 @@
+# Maintainer: Kyle Keen <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Angel Velasquez <[email protected]>
+# 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
+_commit='6a85e4d4e28e105d4e772a6c2ab8188ddeba1644'
+pkgver=3.4.2
+pkgrel=1
+pkgdesc="Python implementation of John Gruber's Markdown"
+arch=('any')
+url='https://python-markdown.github.io/'
+license=('BSD')
+depends=('python')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+optdepends=('python-yaml: parse Python in YAML metadata')
+checkdepends=('python-yaml')
+source=("$pkgname::git+https://github.com/Python-Markdown/markdown#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ [[ $(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 "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
+}