[arch-commits] Commit in python-commonmark/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 20:18:38 UTC 2021


    Date: Wednesday, December 1, 2021 @ 20:18:38
  Author: felixonmars
Revision: 1060699

archrelease: copy trunk to community-staging-any

Added:
  python-commonmark/repos/community-staging-any/PKGBUILD
    (from rev 1060698, python-commonmark/trunk/PKGBUILD)
Deleted:
  python-commonmark/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 20:18:29 UTC (rev 1060698)
+++ PKGBUILD	2021-12-01 20:18:38 UTC (rev 1060699)
@@ -1,41 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=python-commonmark
-pkgver=0.9.1
-pkgrel=4
-pkgdesc='Python parser for the CommonMark Markdown spec'
-url='https://pypi.org/project/commonmark/'
-arch=('any')
-license=('BSD')
-depends=('python-docutils' 'python-future')
-makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme')
-checkdepends=('python-hypothesis')
-options=('!makeflags')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/readthedocs/commonmark.py/archive/${pkgver}.tar.gz)
-sha256sums=('b5d5be6af35a183c3f915d714b31b61e6918894051114419f9ac0bbb715bf4c6')
-sha512sums=('a6de0b384247ff79fe326012bd1fc71135e6ae5bc7b6a15d5402969a94f81fdd802f1a9d557c504eb74bfb3fea68f55355a70a6e0112a620cc285cf9039892e4')
-
-build() {
-  cd commonmark.py-${pkgver}
-  python setup.py build
-  make -C docs man text SPHINXBUILD=sphinx-build
-}
-
-check() {
-  cd commonmark.py-${pkgver}
-  export PYTHONPATH=.
-  python commonmark/tests/unit_tests.py
-  python setup.py test
-}
-
-package() {
-  cd commonmark.py-${pkgver}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 README.rst CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/man/commonmark-py.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-  mv "${pkgdir}/usr/bin/cmark"{,-py3}
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-commonmark/repos/community-staging-any/PKGBUILD (from rev 1060698, python-commonmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 20:18:38 UTC (rev 1060699)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-commonmark
+pkgver=0.9.1
+pkgrel=5
+pkgdesc='Python parser for the CommonMark Markdown spec'
+url='https://pypi.org/project/commonmark/'
+arch=('any')
+license=('BSD')
+depends=('python-docutils' 'python-future')
+makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme')
+checkdepends=('python-hypothesis')
+options=('!makeflags')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/readthedocs/commonmark.py/archive/${pkgver}.tar.gz)
+sha256sums=('b5d5be6af35a183c3f915d714b31b61e6918894051114419f9ac0bbb715bf4c6')
+sha512sums=('a6de0b384247ff79fe326012bd1fc71135e6ae5bc7b6a15d5402969a94f81fdd802f1a9d557c504eb74bfb3fea68f55355a70a6e0112a620cc285cf9039892e4')
+
+build() {
+  cd commonmark.py-${pkgver}
+  python setup.py build
+  make -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+  cd commonmark.py-${pkgver}
+  export PYTHONPATH=.
+  python commonmark/tests/unit_tests.py
+  python setup.py test
+}
+
+package() {
+  cd commonmark.py-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 README.rst CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/man/commonmark-py.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+  mv "${pkgdir}/usr/bin/cmark"{,-py3}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list