[arch-commits] Commit in python-py-cpuinfo/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 11 10:38:16 UTC 2020


    Date: Wednesday, November 11, 2020 @ 10:38:15
  Author: felixonmars
Revision: 750204

archrelease: copy trunk to community-staging-any

Added:
  python-py-cpuinfo/repos/community-staging-any/PKGBUILD
    (from rev 750202, python-py-cpuinfo/trunk/PKGBUILD)
Deleted:
  python-py-cpuinfo/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 10:38:14 UTC (rev 750203)
+++ PKGBUILD	2020-11-11 10:38:15 UTC (rev 750204)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-py-cpuinfo
-pkgver=7.0.0
-pkgrel=2
-arch=('any')
-pkgdesc='Get CPU info with pure Python 2 & 3'
-url='https://github.com/workhorsy/py-cpuinfo'
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/workhorsy/py-cpuinfo/archive/v$pkgver.tar.gz")
-sha512sums=('7046ee705d05c8b577db554b4bc82cc5a588f7263ce36194792eeaeba56a3466180d88187aad74792759f02ebcd32497e38354b3274f5453c1076ae23f9bedd0')
-
-prepare() {
-  cp -a py-cpuinfo-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/py-cpuinfo-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/py-cpuinfo-$pkgver
-  python setup.py pytest
-}
-
-package_python-py-cpuinfo() {
-  cd py-cpuinfo-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-py-cpuinfo/repos/community-staging-any/PKGBUILD (from rev 750202, python-py-cpuinfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 10:38:15 UTC (rev 750204)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-py-cpuinfo
+pkgver=7.0.0
+pkgrel=3
+arch=('any')
+pkgdesc='Get CPU info with pure Python 2 & 3'
+url='https://github.com/workhorsy/py-cpuinfo'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/workhorsy/py-cpuinfo/archive/v$pkgver.tar.gz")
+sha512sums=('7046ee705d05c8b577db554b4bc82cc5a588f7263ce36194792eeaeba56a3466180d88187aad74792759f02ebcd32497e38354b3274f5453c1076ae23f9bedd0')
+
+prepare() {
+  cp -a py-cpuinfo-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/py-cpuinfo-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/py-cpuinfo-$pkgver
+  python setup.py pytest
+}
+
+package_python-py-cpuinfo() {
+  cd py-cpuinfo-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list