[arch-commits] Commit in python-u-msgpack/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Sat Nov 13 16:12:55 UTC 2021
Date: Saturday, November 13, 2021 @ 16:12:55
Author: jelle
Revision: 1045580
archrelease: copy trunk to community-any
Added:
python-u-msgpack/repos/community-any/PKGBUILD
(from rev 1045579, python-u-msgpack/trunk/PKGBUILD)
Deleted:
python-u-msgpack/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 +++++++++++++++++++++++++------------------------------------
1 file changed, 35 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 16:12:50 UTC (rev 1045579)
+++ PKGBUILD 2021-11-13 16:12:55 UTC (rev 1045580)
@@ -1,49 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=u-msgpack-python
-pkgbase='python-u-msgpack'
-pkgname=('python-u-msgpack' 'python2-u-msgpack')
-pkgver=2.7.1
-pkgrel=2
-arch=('any')
-url="https://github.com/vsergeev/${_pkgname}"
-license=('MIT')
-makedepends=('python' 'python2')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('b7e7d433cab77171a4c752875d91836f3040306bab5063fb6dbe11f64ea69551')
-b2sums=('10008f0653f969f1f5655c894be5b2497d692bf7ebf6d50de221695cab9c3a973c0870a8162efe6b61f2d9d4fb062c4130c07cddff8d64d6258d7d832efe4021')
-
-build() {
- cd ${_pkgname}-${pkgver}
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
-
- pytest
- pytest2
-}
-
-package_python-u-msgpack() {
- pkgdesc="portable, lightweight MessagePack serializer and deserializer for Python"
- depends=('python')
-
- cd ${_pkgname}-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-u-msgpack() {
- pkgdesc="portable, lightweight MessagePack serializer and deserializer for Python2"
- depends=('python2')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-u-msgpack/repos/community-any/PKGBUILD (from rev 1045579, python-u-msgpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-13 16:12:55 UTC (rev 1045580)
@@ -0,0 +1,35 @@
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=u-msgpack-python
+pkgname='python-u-msgpack'
+pkgver=2.7.1
+pkgrel=3
+arch=('any')
+url="https://github.com/vsergeev/${_pkgname}"
+license=('MIT')
+pkgdesc="portable, lightweight MessagePack serializer and deserializer for Python"
+depends=('python')
+makedepends=('python')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('b7e7d433cab77171a4c752875d91836f3040306bab5063fb6dbe11f64ea69551')
+b2sums=('10008f0653f969f1f5655c894be5b2497d692bf7ebf6d50de221695cab9c3a973c0870a8162efe6b61f2d9d4fb062c4130c07cddff8d64d6258d7d832efe4021')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+
+ pytest
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list