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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 06:57:53 UTC 2020


    Date: Wednesday, November 11, 2020 @ 06:57:53
  Author: foutrelis
Revision: 749983

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 06:57:50 UTC (rev 749982)
+++ PKGBUILD	2020-11-11 06:57:53 UTC (rev 749983)
@@ -1,41 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=python-commonmark
-pkgver=0.9.1
-pkgrel=2
-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 749982, python-commonmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 06:57:53 UTC (rev 749983)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-commonmark
+pkgver=0.9.1
+pkgrel=3
+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