Date: Monday, March 13, 2023 @ 01:16:23
  Author: polyzen
Revision: 1419646

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-13 01:15:59 UTC (rev 1419645)
+++ PKGBUILD    2023-03-13 01:16:23 UTC (rev 1419646)
@@ -1,46 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=rstcheck
-pkgver=6.1.1
-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-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=('8e43485a644e794b8127f8c4868ef62c14ec7919bdda6cb16642157055d32e47')
-b2sums=('973d288db0fb8a10ebd187ee638c5deff84a820a684f6fa1bd6248a10e36a7b0f3d5c62636431fa8083e454400c2f6beea232cc227db1b1f8adfa79714f8373a')
-
-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
-}

Copied: rstcheck/repos/community-any/PKGBUILD (from rev 1419645, 
rstcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-13 01:16:23 UTC (rev 1419646)
@@ -0,0 +1,46 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=rstcheck
+pkgver=6.1.2
+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-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=('f9cb07a72ef9a81d1e32187eae29b00a89421ccba1bde0b1652a08ed0923f61b')
+b2sums=('385b1d07ce871177e7da0987736a4060e3135bc5489c4c043d98ec8da6b23b0a3e75cb99b1f147a4cf9290d182fb102c5bd622120da67cf75d7d752ec32f7551')
+
+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
+}

Reply via email to