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

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 11 22:11:56 UTC 2021


    Date: Saturday, December 11, 2021 @ 22:11:55
  Author: felixonmars
Revision: 1068358

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-11 22:11:47 UTC (rev 1068357)
+++ PKGBUILD	2021-12-11 22:11:55 UTC (rev 1068358)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-py3c
-pkgver=1.3.1
-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=('ea8d283d619a18e8673a7d2e85d9f20b401913af2958c9aa1b31c1ebabdc0d5a6a51f2b6b0b561c3d962faeefbd1754ce576bfcfe32bc25073b6178f6eccec22')
-
-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-testing-any/PKGBUILD (from rev 1068357, python-py3c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-11 22:11:55 UTC (rev 1068358)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-py3c
+pkgver=1.4
+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=('db71db2c19a16ba5a430b676beb357faee5b67b161478932af13dd06be23b5505da85dbaf5b2447f95590fea55b833ee33fa19d3350ba3117f3364a9ab012ee6')
+
+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