[arch-commits] Commit in python-crc16/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Dec 12 16:27:39 UTC 2020


    Date: Saturday, December 12, 2020 @ 16:27:38
  Author: jelle
Revision: 773441

archrelease: copy trunk to community-x86_64

Added:
  python-crc16/repos/community-x86_64/PKGBUILD
    (from rev 773440, python-crc16/trunk/PKGBUILD)
Deleted:
  python-crc16/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-12 16:27:29 UTC (rev 773440)
+++ PKGBUILD	2020-12-12 16:27:38 UTC (rev 773441)
@@ -1,29 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=python-crc16
-pkgver=0.1.1
-pkgrel=5
-arch=(x86_64)
-pkgdesc='Python library for calculating CRC16'
-url="https://pypi.org/project/crc16/"
-depends=(python-setuptools python)
-license=('LGPL')
-options=(!emptydirs)
-source=(https://pypi.python.org/packages/source/c/${pkgname#python-}/${pkgname#python-}-$pkgver.tar.gz)
-sha512sums=('45d5e8e13b1ac5f885b40516872a9233514f09aa8990915904b214eec2ef6084016f8f0c15bb411aaa1ffc32e8207020916f723e48eee726a7e6989901c9e65d')
-
-build() {
-  cd "${pkgname#python-}-$pkgver"
-  export PYTHONHASHSEED=0
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname#python-}-$pkgver"
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9"  python -m crc16.test
-}
-
-package() {
-  cd "${pkgname#python-}-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-crc16/repos/community-x86_64/PKGBUILD (from rev 773440, python-crc16/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-12 16:27:38 UTC (rev 773441)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-crc16
+pkgver=0.1.1
+pkgrel=6
+arch=(x86_64)
+pkgdesc='Python library for calculating CRC16'
+url="https://pypi.org/project/crc16/"
+depends=(python-setuptools python)
+license=('LGPL')
+options=(!emptydirs)
+source=(https://pypi.python.org/packages/source/c/${pkgname#python-}/${pkgname#python-}-$pkgver.tar.gz)
+sha512sums=('45d5e8e13b1ac5f885b40516872a9233514f09aa8990915904b214eec2ef6084016f8f0c15bb411aaa1ffc32e8207020916f723e48eee726a7e6989901c9e65d')
+
+build() {
+  cd "${pkgname#python-}-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname#python-}-$pkgver"
+  PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9"  python -m crc16.test
+}
+
+package() {
+  cd "${pkgname#python-}-$pkgver"
+  export PYTHONHASHSEED=0
+  python setup.py install --root="$pkgdir" --skip-build --optimize=1
+}



More information about the arch-commits mailing list