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

Daniel M. Capella polyzen at archlinux.org
Wed Mar 25 19:08:26 UTC 2020


    Date: Wednesday, March 25, 2020 @ 19:08:25
  Author: polyzen
Revision: 604363

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-25 19:08:03 UTC (rev 604362)
+++ PKGBUILD	2020-03-25 19:08:25 UTC (rev 604363)
@@ -1,26 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=rstcheck
-pkgver=3.3.1
-pkgrel=3
-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-setuptools')
-optdepends=('python-sphinx: Sphinx support')
-source=("https://files.pythonhosted.org/packages/source/r/rstcheck/rstcheck-$pkgver.tar.gz")
-sha512sums=('d390565c59466e1047fb41491eb5a2261fec91848806e04137bcc6053759fc87c8e4c72721d39b35c959b0baddaf90f2c8459213cec76b82be9b78bdd44076c5')
-
-build() {
-  cd rstcheck-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd rstcheck-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/rstcheck LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: rstcheck/repos/community-any/PKGBUILD (from rev 604362, rstcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-25 19:08:25 UTC (rev 604363)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=rstcheck
+pkgver=3.3.1
+pkgrel=3
+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-setuptools')
+checkdepends=('python-sphinx')
+optdepends=('python-sphinx: Sphinx support')
+source=("$url/archive/v$pkgver/rstcheck-v$pkgver.tar.gz")
+sha512sums=('07431d6c4789e4c005c4bf4be66f627c390f57e56f25b4f3db8b392bc7b904ca93c3e26145ab344e9b78109d2054e5f36167ab40b1ab023f08c85d6ec12cafbc')
+
+build() {
+  cd rstcheck-$pkgver
+  python setup.py build
+}
+
+check() {
+ cd rstcheck-$pkgver
+ ./test_rstcheck.py
+}
+
+package() {
+  cd rstcheck-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/rstcheck LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list