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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 21:33:47 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:33:47
  Author: felixonmars
Revision: 1060811

archrelease: copy trunk to community-staging-any

Added:
  python-mccabe/repos/community-staging-any/PKGBUILD
    (from rev 1060809, python-mccabe/trunk/PKGBUILD)
Deleted:
  python-mccabe/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:33:45 UTC (rev 1060810)
+++ PKGBUILD	2021-12-01 21:33:47 UTC (rev 1060811)
@@ -1,35 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
-
-_pyname=mccabe
-pkgname=python-$_pyname
-pkgver=0.6.1
-pkgrel=10
-pkgdesc='McCabe complexity checker for Python'
-arch=(any)
-url="https://github.com/PyCQA/$_pyname"
-license=('custom:Expat')
-depends=(python)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest
-              python-pytest-runner)
-_archive="$_pyname-$pkgver"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('2748af6516175b94be318cd8226fa50b5339b9dc886bce378ac2afb37a157524')
-
-build() {
-	cd "$_archive"
-	python setup.py build
-}
-
-check() {
-	cd "$_archive"
-	pytest
-}
-
-package() {
-	cd "$_archive"
-	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: python-mccabe/repos/community-staging-any/PKGBUILD (from rev 1060809, python-mccabe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:33:47 UTC (rev 1060811)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
+
+_pyname=mccabe
+pkgname=python-$_pyname
+pkgver=0.6.1
+pkgrel=11
+pkgdesc='McCabe complexity checker for Python'
+arch=(any)
+url="https://github.com/PyCQA/$_pyname"
+license=('custom:Expat')
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest
+              python-pytest-runner)
+_archive="$_pyname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('2748af6516175b94be318cd8226fa50b5339b9dc886bce378ac2afb37a157524')
+
+build() {
+	cd "$_archive"
+	python setup.py build
+}
+
+check() {
+	cd "$_archive"
+	pytest
+}
+
+package() {
+	cd "$_archive"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}



More information about the arch-commits mailing list