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

Felix Yan felixonmars at archlinux.org
Fri Nov 2 02:56:44 UTC 2018


    Date: Friday, November 2, 2018 @ 02:56:44
  Author: felixonmars
Revision: 401185

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-02 02:56:28 UTC (rev 401184)
+++ PKGBUILD	2018-11-02 02:56:44 UTC (rev 401185)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.16.2
-pkgrel=1
-pkgdesc="A lightweight library for converting complex datatypes to and from native Python datatypes."
-url="https://github.com/marshmallow-code/marshmallow"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-simplejson'
-              'python2-simplejson' 'python-pytz' 'python2-pytz' 'python-dateutil'
-              'python2-dateutil')
-source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
-sha512sums=('aa46955c543de6930862c119b7bd905b4d09bb9bc07990c2ce6834cf63a3d7777add5a48ef0c2b756b76688c10baf8ec46ce255fc2512cc526abf1b380ebfa09')
-
-prepare() {
-  cp -a marshmallow-$pkgver{,-py2}
-  rm -r marshmallow-$pkgver-py2/tests/test_py3
-}
-
-build() {
-  cd "$srcdir"/marshmallow-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/marshmallow-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/marshmallow-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/marshmallow-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-marshmallow() {
-  depends=('python')
-
-  cd marshmallow-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-marshmallow() {
-  depends=('python2')
-
-  cd marshmallow-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-marshmallow/repos/community-any/PKGBUILD (from rev 401184, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-02 02:56:44 UTC (rev 401185)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.16.3
+pkgrel=1
+pkgdesc="A lightweight library for converting complex datatypes to and from native Python datatypes."
+url="https://github.com/marshmallow-code/marshmallow"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-simplejson'
+              'python2-simplejson' 'python-pytz' 'python2-pytz' 'python-dateutil'
+              'python2-dateutil')
+source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
+sha512sums=('6e4d12829a057ef18651160635a2dba623b47356e4236002651fa28c04bacf21ae3a0d2e38d215764bc10bbbb1eaec23b8a90405301674963c5fd7606e83b915')
+
+prepare() {
+  cp -a marshmallow-$pkgver{,-py2}
+  rm -r marshmallow-$pkgver-py2/tests/test_py3
+}
+
+build() {
+  cd "$srcdir"/marshmallow-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/marshmallow-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/marshmallow-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/marshmallow-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-marshmallow() {
+  depends=('python')
+
+  cd marshmallow-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-marshmallow() {
+  depends=('python2')
+
+  cd marshmallow-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list