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

Felix Yan felixonmars at archlinux.org
Wed Jul 1 16:52:07 UTC 2020


    Date: Wednesday, July 1, 2020 @ 16:52:07
  Author: felixonmars
Revision: 657338

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 16:51:46 UTC (rev 657337)
+++ PKGBUILD	2020-07-01 16:52:07 UTC (rev 657338)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-py3c
-pkgver=1.1
-pkgrel=2
-pkgdesc="A Python 2/3 compatibility layer for C extensions"
-url="https://github.com/encukou/py3c"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/encukou/py3c/archive/v$pkgver.tar.gz")
-sha512sums=('aa95bbe1a80eec9e32d3dab4b0771a35fc467052757077fa17b42ceba78a5fe7fb1fa99079240aeeea5538abff778518b706f3bf16dbce2cd4f7dc1900c61b24')
-
-prepare() {
-  cd py3c-$pkgver
-  # Don't regenerate with broken path in "install" target
-  sed -i 's/install: py3c.pc/install:/' Makefile
-}
-
-build() {
-  cd py3c-$pkgver
-  python setup.py build
-  make prefix=/usr py3c.pc
-}
-
-check() {
-  cd py3c-$pkgver
-  make test-python
-}
-
-package() {
-  cd py3c-$pkgver
-  make prefix="$pkgdir"/usr install
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  # Remove headers in broken location
-  rm -r "$pkgdir"/usr/include/python*
-
-  install -Dm644 LICENSE.MIT -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-py3c/repos/community-any/PKGBUILD (from rev 657337, python-py3c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-01 16:52:07 UTC (rev 657338)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-py3c
+pkgver=1.2
+pkgrel=1
+pkgdesc="A Python 2/3 compatibility layer for C extensions"
+url="https://github.com/encukou/py3c"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/encukou/py3c/archive/v$pkgver.tar.gz")
+sha512sums=('69896ea93589a98d061299cab1bd1e4681a2550a9fd4a7aa23f85740bdb3b85e3fe4fa8ee12a5657ebe57f3fe6decd9df506fa67add018fab466ad4c88dd29b6')
+
+prepare() {
+  cd py3c-$pkgver
+  # Don't regenerate with broken path in "install" target
+  sed -i 's/install: py3c.pc/install:/' Makefile
+}
+
+build() {
+  cd py3c-$pkgver
+  python setup.py build
+  make prefix=/usr py3c.pc
+}
+
+check() {
+  cd py3c-$pkgver
+  make test-python
+}
+
+package() {
+  cd py3c-$pkgver
+  make prefix="$pkgdir"/usr install
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  # Remove headers in broken location
+  rm -r "$pkgdir"/usr/include/python*
+
+  install -Dm644 LICENSE.MIT -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


More information about the arch-commits mailing list