Date: Friday, November 11, 2022 @ 14:15:22
Author: alerque
Revision: 1346724
archrelease: copy trunk to community-x86_64
Added:
python-cmarkgfm/repos/community-x86_64/PKGBUILD
(from rev 1346723, python-cmarkgfm/trunk/PKGBUILD)
Deleted:
python-cmarkgfm/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-11 14:15:13 UTC (rev 1346723)
+++ PKGBUILD 2022-11-11 14:15:22 UTC (rev 1346724)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-
-pkgname=python-cmarkgfm
-_pyname=${pkgname#python-}
-pkgver=0.8.0
-pkgrel=3
-pkgdesc="Minimal bindings to GitHub's fork of cmark"
-url="https://github.com/theacodes/cmarkgfm"
-license=('MIT')
-arch=('x86_64')
-depends=('cmark-gfm' 'python-cffi')
-makedepends=('cmark-gfm' 'cython' 'python-build' 'python-installer'
'python-setuptools' 'python-cffi' 'python-wheel')
-checkdepends=('python-pytest')
-# Upstream did not tag the version on GitHub to match PyPi, see
https://github.com/theacodes/cmarkgfm/issues/51
-#
source=("https://github.com/theacodes/cmarkgfm/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz")
-sha512sums=('0f8f33306bbfbd4eec55e6a0f2379cd672a3f7e8072e013c454d7374f96e807dddaaf5dff277bf0d81751da2f4031b9d33eb86d8bbcd62ea0b8579f338d2fd94')
-
-prepare() {
- cd cmarkgfm-$pkgver
- sed -e '/include_dirs=/a libraries=["cmark-gfm", "cmark-gfm-extensions"],' \
- -i src/cmarkgfm/build_cmark.py
-}
-
-build() {
- cd cmarkgfm-$pkgver
- python -m build -wn
-}
-
-check() {
- cd cmarkgfm-$pkgver
- local _pyver=cpython-$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_pyver}" pytest
-}
-
-package() {
- cd cmarkgfm-$pkgver
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir"/usr/share/licenses/$pkgname/ LICENSE.txt
-}
Copied: python-cmarkgfm/repos/community-x86_64/PKGBUILD (from rev 1346723,
python-cmarkgfm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-11 14:15:22 UTC (rev 1346724)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+
+pkgname=python-cmarkgfm
+_pyname=${pkgname#python-}
+pkgver=2022.10.27
+pkgrel=1
+pkgdesc="Minimal bindings to GitHub's fork of cmark"
+url="https://github.com/theacodes/cmarkgfm"
+license=('MIT')
+arch=('x86_64')
+depends=('cmark-gfm' 'python-cffi')
+makedepends=('cmark-gfm' 'cython' 'python-build' 'python-installer'
'python-setuptools' 'python-cffi' 'python-wheel')
+checkdepends=('python-pytest')
+# Upstream did not tag the version on GitHub to match PyPi, see
https://github.com/theacodes/cmarkgfm/issues/51
+#
source=("https://github.com/theacodes/cmarkgfm/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz")
+sha512sums=('b5c1c622a7df9eb882bf152d98baeb61e9103f7683ec5d50e3eee1ada7caac2daf4e1e1e8c34566ab8c8e00136da9e65ae356e06e511da281b8de890aca85a86')
+
+prepare() {
+ cd cmarkgfm-$pkgver
+ sed -e '/include_dirs=/a libraries=["cmark-gfm", "cmark-gfm-extensions"],' \
+ -i src/cmarkgfm/build_cmark.py
+}
+
+build() {
+ cd cmarkgfm-$pkgver
+ python -m build -wn
+}
+
+check() {
+ cd cmarkgfm-$pkgver
+ local _pyver=cpython-$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_pyver}" pytest
+}
+
+package() {
+ cd cmarkgfm-$pkgver
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir"/usr/share/licenses/$pkgname/ LICENSE.txt
+}