[arch-commits] Commit in rstcheck/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Jun 5 16:14:49 UTC 2022


    Date: Sunday, June 5, 2022 @ 16:14:49
  Author: polyzen
Revision: 1223128

archrelease: copy trunk to community-any

Added:
  rstcheck/repos/community-any/PKGBUILD
    (from rev 1223127, rstcheck/trunk/PKGBUILD)
Deleted:
  rstcheck/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   96 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 49 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-05 16:14:39 UTC (rev 1223127)
+++ PKGBUILD	2022-06-05 16:14:49 UTC (rev 1223128)
@@ -1,47 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=rstcheck
-pkgver=5.0.0
-pkgrel=1
-pkgdesc='Checks syntax of reStructuredText and code blocks nested within it'
-arch=('any')
-url=https://github.com/myint/rstcheck
-license=('MIT')
-depends=('python-docutils' 'python-typing_extensions')
-makedepends=('python-build' 'python-installer' 'python-poetry-core')
-checkdepends=('python-pytest' 'python-sphinx')
-optdepends=('python-sphinx: for Sphinx support')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('c0c4e44ebb630a7f1ff61d8fc26adc7d49c16fcd4ba85e3ea5542b864cf982e4')
-b2sums=('b3d8d92055a27e6823e215ad08011fbc3ba5d1dab7aac0b176d154328067ebf991af003c8c59c49fd76b02542b316e7c9af09b22fa48613e0b501755934b4ae7')
-
-prepare() {
-  cd $pkgname-$pkgver
-  # Remove include list https://github.com/pypa/wheel/issues/92
-  sed -i '/^include =/d' pyproject.toml
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $pkgname-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: rstcheck/repos/community-any/PKGBUILD (from rev 1223127, rstcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-05 16:14:49 UTC (rev 1223128)
@@ -0,0 +1,49 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=rstcheck
+pkgver=6.0.0.post1
+pkgrel=1
+pkgdesc='Checks syntax of reStructuredText and code blocks nested within it'
+arch=('any')
+url=https://github.com/rstcheck/rstcheck
+license=('MIT')
+depends=('python-docutils' 'python-pydantic' 'python-rstcheck-core'
+         'python-typer' 'python-typing_extensions')
+makedepends=('python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-pytest' 'python-sphinx')
+optdepends=('python-sphinx: for Sphinx support'
+            'python-tomli: for pyproject.toml support')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('2f69b972c682fbb6618e969273962f77c4307d6900e013b4d74f674f13fc81cb')
+b2sums=('3554b1a8c04e60728b70fbe44a94b596e7a0a08ae4f64e792fa1c805b8ef392cfe7f044e50922768d01d5cc8765d4e949d3bf76b6a001fecf46b19247606d460')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Remove include list https://github.com/pypa/wheel/issues/92
+  sed -i '/^include =/d' pyproject.toml
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $pkgname-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list