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

Felix Yan felixonmars at archlinux.org
Sun Sep 16 06:06:19 UTC 2018


    Date: Sunday, September 16, 2018 @ 06:06:18
  Author: felixonmars
Revision: 382204

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-16 06:05:57 UTC (rev 382203)
+++ PKGBUILD	2018-09-16 06:06:18 UTC (rev 382204)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.15.4
-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=('5cbbf3c0e2d7e615b8944972ec312c5802be0c4f82ddca2bd8a08648c9d22a4334635e875cf1879f75cb763d43460533b795232f48c4b0990255144806b2a08d')
-
-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 382203, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-16 06:06:18 UTC (rev 382204)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.15.5
+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=('284fb1e4951d81afcfa7461f3f5380b34c62f760886700499df4d0df1882a297b2c90365966420c07b367c0185c551d5517e0ce0f0d539fa67f6841810ee9fd5')
+
+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