[arch-commits] Commit in python-mccabe/repos/staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 14:27:43 UTC 2020
Date: Thursday, November 12, 2020 @ 14:27:43
Author: foutrelis
Revision: 400583
archrelease: copy trunk to staging-any
Added:
python-mccabe/repos/staging-any/PKGBUILD
(from rev 400582, python-mccabe/trunk/PKGBUILD)
Deleted:
python-mccabe/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 14:27:39 UTC (rev 400582)
+++ PKGBUILD 2020-11-12 14:27:43 UTC (rev 400583)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
-
-pkgbase=python-mccabe
-pkgname=(python-mccabe python2-mccabe)
-pkgver=0.6.1
-pkgrel=6
-pkgdesc="McCabe complexity checker for Python"
-arch=('any')
-url="https://github.com/flintwork/mccabe"
-license=('custom:Expat')
-makedepends=('python-setuptools' 'python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/flintwork/mccabe/archive/$pkgver.tar.gz")
-sha512sums=('1da239933f36c8b7c0f9f026822d673d0b207ac49e45027d77500001327964dd66cc7074be22311927176fc313174f4eb7908d0fc45da9fc4623bf1e237293b0')
-
-prepare() {
- cp -a mccabe-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/mccabe-$pkgver
- python setup.py build
-
- cd "$srcdir"/mccabe-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/mccabe-$pkgver
- python setup.py test
-
- cd "$srcdir"/mccabe-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-mccabe() {
- depends=('python')
-
- cd mccabe-$pkgver
- python setup.py install --root="$pkgdir" --prefix=/usr --skip-build --optimize=1
-
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-mccabe() {
- depends=('python2')
-
- cd mccabe-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --prefix=/usr --skip-build --optimize=1
-
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-mccabe/repos/staging-any/PKGBUILD (from rev 400582, python-mccabe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 14:27:43 UTC (rev 400583)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
+
+pkgbase=python-mccabe
+pkgname=(python-mccabe python2-mccabe)
+pkgver=0.6.1
+pkgrel=7
+pkgdesc="McCabe complexity checker for Python"
+arch=('any')
+url="https://github.com/flintwork/mccabe"
+license=('custom:Expat')
+makedepends=('python-setuptools' 'python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/flintwork/mccabe/archive/$pkgver.tar.gz")
+sha512sums=('1da239933f36c8b7c0f9f026822d673d0b207ac49e45027d77500001327964dd66cc7074be22311927176fc313174f4eb7908d0fc45da9fc4623bf1e237293b0')
+
+prepare() {
+ cp -a mccabe-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/mccabe-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/mccabe-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/mccabe-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/mccabe-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-mccabe() {
+ depends=('python')
+
+ cd mccabe-$pkgver
+ python setup.py install --root="$pkgdir" --prefix=/usr --skip-build --optimize=1
+
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-mccabe() {
+ depends=('python2')
+
+ cd mccabe-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --prefix=/usr --skip-build --optimize=1
+
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list