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

Felix Yan felixonmars at archlinux.org
Wed Jan 13 11:38:54 UTC 2021


    Date: Wednesday, January 13, 2021 @ 11:38:54
  Author: felixonmars
Revision: 820385

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 11:38:43 UTC (rev 820384)
+++ PKGBUILD	2021-01-13 11:38:54 UTC (rev 820385)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-py3c
-pkgver=1.2
-pkgrel=3
-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/
-}

Copied: python-py3c/repos/community-any/PKGBUILD (from rev 820384, python-py3c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-13 11:38:54 UTC (rev 820385)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-py3c
+pkgver=1.3
+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=('cf43808f415a2a8832c669b8bfdb74754c99941694afaa6ecc7d11d0c9fa542136cf0066bffab05b2e0cacc532d3301ca4275da358f7947723c64c5f1a2633ed')
+
+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