[arch-commits] Commit in python-recommonmark/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 20:12:45 UTC 2021
Date: Wednesday, December 1, 2021 @ 20:12:45
Author: foutrelis
Revision: 1060656
archrelease: copy trunk to community-staging-any
Added:
python-recommonmark/repos/community-staging-any/PKGBUILD
(from rev 1060655, python-recommonmark/trunk/PKGBUILD)
Deleted:
python-recommonmark/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 20:12:42 UTC (rev 1060655)
+++ PKGBUILD 2021-12-01 20:12:45 UTC (rev 1060656)
@@ -1,42 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_pyname=recommonmark
-pkgname=python-$_pyname
-pkgver=0.7.1
-pkgrel=2
-pkgdesc='Markdown parser for docutils'
-url="https://$_pyname.readthedocs.io/"
-arch=(any)
-license=(MIT)
-_pydeps=(commonmark
- docutils
- sphinx)
-depends=(python
- "${_pydeps[@]/#/python-}")
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-_archive="$_pyname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_archive.tar.gz")
-sha256sums=('bdb4db649f2222dcd8d2d844f0006b958d627f732415d399791ee436a3686d67')
-
-build() {
- cd "$_archive"
- python setup.py build
- make -C docs text man
-}
-
-check() {
- cd "$_archive"
- pytest \
- --deselect tests/test_sphinx.py
-}
-
-package() {
- cd "$_archive"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" license.md
- install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md CHANGELOG.md
- install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" docs/_build/text/*.txt
- install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "docs/_build/man/$_pyname.1"
-}
Copied: python-recommonmark/repos/community-staging-any/PKGBUILD (from rev 1060655, python-recommonmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-01 20:12:45 UTC (rev 1060656)
@@ -0,0 +1,42 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pyname=recommonmark
+pkgname=python-$_pyname
+pkgver=0.7.1
+pkgrel=3
+pkgdesc='Markdown parser for docutils'
+url="https://$_pyname.readthedocs.io/"
+arch=(any)
+license=(MIT)
+_pydeps=(commonmark
+ docutils
+ sphinx)
+depends=(python
+ "${_pydeps[@]/#/python-}")
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_archive.tar.gz")
+sha256sums=('bdb4db649f2222dcd8d2d844f0006b958d627f732415d399791ee436a3686d67')
+
+build() {
+ cd "$_archive"
+ python setup.py build
+ make -C docs text man
+}
+
+check() {
+ cd "$_archive"
+ pytest \
+ --deselect tests/test_sphinx.py
+}
+
+package() {
+ cd "$_archive"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" license.md
+ install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md CHANGELOG.md
+ install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" docs/_build/text/*.txt
+ install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "docs/_build/man/$_pyname.1"
+}
More information about the arch-commits
mailing list