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

Morten Linderud foxboron at archlinux.org
Wed Aug 7 18:57:24 UTC 2019


    Date: Wednesday, August 7, 2019 @ 18:57:23
  Author: foxboron
Revision: 498193

archrelease: copy trunk to community-any

Added:
  python-pydocstyle/repos/community-any/PKGBUILD
    (from rev 498192, python-pydocstyle/trunk/PKGBUILD)
Deleted:
  python-pydocstyle/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 30 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 18:57:15 UTC (rev 498192)
+++ PKGBUILD	2019-08-07 18:57:23 UTC (rev 498193)
@@ -1,45 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgbase=python-pydocstyle
-pkgname=(python-pydocstyle python2-pydocstyle)
-pkgver=3.0.0
-pkgrel=1
-pkgdesc="Docstring style checker"
-arch=("any")
-url="http://www.pydocstyle.org/"
-license=("MIT")
-makedepends=("python" "python-setuptools"
-             "python2" "python2-setuptools")
-checkdepends=("python-pytest" "python-pytest-runner" "python-mock" "python-pip" "python-snowballstemmer"
-              "python2-pytest" "python2-pytest-runner" "python2-mock" "python2-pip" "python2-pathlib"
-              "python2-snowballstemmer")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz")
-sha256sums=('99d4c0b584eca25a179766a1e4c7e69284bc94eb9abf6d8e010d69b5a22596ec')
-
-build() {
-    cd "${srcdir}/pydocstyle-${pkgver}"
-    python setup.py build
-    python2 setup.py build
-}
-
-check() {
-    cd "${srcdir}/pydocstyle-${pkgver}"
-    python setup.py pytest --addopts "-k 'not test_integration'"
-    python2 setup.py pytest --addopts "-k 'not test_integration'"
-}
-
-package_python-pydocstyle() {
-    depends=("python" "python-snowballstemmer")
-    cd "pydocstyle-${pkgver}"
-    python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-    install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-pydocstyle() {
-    depends=("python2" "python2-snowballstemmer" "python2-configparser")
-    cd "pydocstyle-${pkgver}"
-    python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-    install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-    mv "$pkgdir/usr/bin/pydocstyle" "$pkgdir/usr/bin/pydocstyle2"
-}

Copied: python-pydocstyle/repos/community-any/PKGBUILD (from rev 498192, python-pydocstyle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-07 18:57:23 UTC (rev 498193)
@@ -0,0 +1,30 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=python-pydocstyle
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Docstring style checker"
+arch=("any")
+url="http://www.pydocstyle.org/"
+license=("MIT")
+depends=("python-snowballstemmer")
+makedepends=("python-setuptools")
+checkdepends=("python-pytest" "python-pytest-runner" "python-mock" "python-pip" "python-snowballstemmer")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz")
+sha256sums=('f5096e8003f97b4520137ee5f84945517003a68e58bdfbf13b91ea9073434a42')
+
+build() {
+    cd "${srcdir}/pydocstyle-${pkgver}"
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}/pydocstyle-${pkgver}"
+    python setup.py pytest --addopts "-k 'not test_integration'"
+}
+
+package() {
+    cd "pydocstyle-${pkgver}"
+    python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+    install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list