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

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Mar 30 10:14:15 UTC 2019


    Date: Saturday, March 30, 2019 @ 10:14:14
  Author: yan12125
Revision: 446260

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-30 10:13:48 UTC (rev 446259)
+++ PKGBUILD	2019-03-30 10:14:14 UTC (rev 446260)
@@ -1,36 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-cbor
-pkgver=1.0.0
-pkgrel=1
-# The commit that bumps cbor/VERSION.py to 1.0.0
-_commit=b3af679e7cf3e12d50acb83c3c591fc5db9a658d
-pkgdesc='CBOR rfc7049 for Python'
-arch=(x86_64)
-url='https://github.com/brianolson/cbor_py'
-license=(Apache)
-makedepends=(python-setuptools)
-depends=(python)
-checkdepends=(python-pytest)
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/brianolson/cbor_py/archive/$_commit.tar.gz")
-sha256sums=('d9211361e37363dfbf54fcb21d23e610aa25679609044844305c2ee5b80b78d9')
-
-prepare() {
-  cd cbor_py-$_commit
-  sed -i 's#logger.warn(#logger.warning(#' cbor/tests/*.py
-}
-
-build() {
-  cd cbor_py-$_commit
-  python setup.py build
-}
-
-check() {
-  cd cbor_py-$_commit
-  PYTHONPATH=build/lib.linux-$CARCH-3.7 pytest -k 'not test_sortkeys'
-}
-
-package() {
-  cd cbor_py-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-cbor/repos/community-x86_64/PKGBUILD (from rev 446259, python-cbor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-30 10:14:14 UTC (rev 446260)
@@ -0,0 +1,36 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-cbor
+pkgver=1.0.0
+pkgrel=1
+# The commit that bumps cbor/VERSION.py to 1.0.0
+_commit=b3af679e7cf3e12d50acb83c3c591fc5db9a658d
+pkgdesc='CBOR rfc7049 for Python'
+arch=(x86_64)
+url='https://github.com/brianolson/cbor_py'
+license=(Apache)
+makedepends=(python-setuptools)
+depends=(python)
+checkdepends=(python-pytest)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/brianolson/cbor_py/archive/$_commit.tar.gz")
+sha256sums=('d9211361e37363dfbf54fcb21d23e610aa25679609044844305c2ee5b80b78d9')
+
+prepare() {
+  cd cbor_py-$_commit
+  sed -i 's#logger.warn(#logger.warning(#' cbor/tests/*.py
+}
+
+build() {
+  cd cbor_py-$_commit
+  python setup.py build
+}
+
+check() {
+  cd cbor_py-$_commit
+  PYTHONPATH=build/lib.linux-$CARCH-3.7 pytest -k 'not test_sortkeys'
+}
+
+package() {
+  cd cbor_py-$_commit
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


More information about the arch-commits mailing list