[arch-commits] Commit in python-sphinx-jinja/repos/community-any (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Thu Jul 7 11:44:26 UTC 2022


    Date: Thursday, July 7, 2022 @ 11:44:25
  Author: yan12125
Revision: 1247664

archrelease: copy trunk to community-any

Added:
  python-sphinx-jinja/repos/community-any/PKGBUILD
    (from rev 1247663, python-sphinx-jinja/trunk/PKGBUILD)
Deleted:
  python-sphinx-jinja/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 42 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-07 11:44:08 UTC (rev 1247663)
+++ PKGBUILD	2022-07-07 11:44:25 UTC (rev 1247664)
@@ -1,47 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-sphinx-jinja
-# https://github.com/tardyp/sphinx-jinja/blob/master/ChangeLog
-pkgver=1.4.0
-# curl https://api.github.com/repos/tardyp/sphinx-jinja/git/ref/tags/$pkgver | jq -r .object.sha
-_tag=c142a2d05089a56fef4b2fd0701ee0b45c7d5f24
-pkgrel=1
-pkgdesc='A sphinx extension to include jinja based templates based documentation into a sphinx doc'
-arch=(any)
-url='https://github.com/tardyp/sphinx-jinja'
-license=(MIT)
-depends=(python python-docutils python-jinja python-sphinx)
-makedepends=(git python-build python-install python-poetry-core)
-checkdepends=(python-pytest)
-# tests are no longer included in PyPI source tarballs after upstream switched to poetry
-source=("git+https://github.com/tardyp/sphinx-jinja.git?signed#tag=$_tag")
-sha256sums=('SKIP')
-validpgpkeys=(
-  '390EB159056ED56F66AB1092AECD456B4D2531FC'  # https://github.com/tardyp.gpg
-)
-
-prepare() {
-  cd sphinx-jinja
-  rm -v sphinxcontrib/__init__.py
-}
-
-pkgver() {
-  cd sphinx-jinja
-  git describe --tags | sed 's/^v//'
-}
-
-build() {
-  cd sphinx-jinja
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd sphinx-jinja
-  pytest
-}
-
-package() {
-  cd sphinx-jinja
-  python -m install --optimize 0 1 --destdir="$pkgdir" dist/*.whl
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-sphinx-jinja/repos/community-any/PKGBUILD (from rev 1247663, python-sphinx-jinja/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-07 11:44:25 UTC (rev 1247664)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-sphinx-jinja
+# https://github.com/tardyp/sphinx-jinja/blob/master/ChangeLog
+pkgver=2.0.2
+# curl https://api.github.com/repos/tardyp/sphinx-jinja/git/ref/tags/$pkgver | jq -r .object.sha
+_tag=7faac8c23bf523f39c5386524a733c12d8c25dfd
+pkgrel=1
+pkgdesc='A sphinx extension to include jinja based templates based documentation into a sphinx doc'
+arch=(any)
+url='https://github.com/tardyp/sphinx-jinja'
+license=(MIT)
+depends=(python python-docutils python-jinja python-sphinx)
+makedepends=(git python-build python-installer python-poetry-core)
+checkdepends=(python-pytest)
+# tests are no longer included in PyPI source tarballs after upstream switched to poetry
+source=("git+https://github.com/tardyp/sphinx-jinja.git?signed#tag=$_tag")
+sha256sums=('SKIP')
+validpgpkeys=(
+  '390EB159056ED56F66AB1092AECD456B4D2531FC'  # https://github.com/tardyp.gpg
+)
+
+pkgver() {
+  cd sphinx-jinja
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd sphinx-jinja
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd sphinx-jinja
+  pytest
+}
+
+package() {
+  cd sphinx-jinja
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list