[arch-commits] Commit in python-marshmallow/repos (2 files)
Date: Sunday, November 17, 2019 @ 02:56:26 Author: felixonmars Revision: 529888 archrelease: copy trunk to community-testing-any Added: python-marshmallow/repos/community-testing-any/ python-marshmallow/repos/community-testing-any/PKGBUILD (from rev 529887, python-marshmallow/trunk/PKGBUILD) --+ PKGBUILD | 30 ++ 1 file changed, 30 insertions(+) Copied: python-marshmallow/repos/community-testing-any/PKGBUILD (from rev 529887, python-marshmallow/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-11-17 02:56:26 UTC (rev 529888) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan + +pkgname=python-marshmallow +pkgver=3.2.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') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-simplejson' 'python-pytz' 'python-dateutil') +source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz;) +sha512sums=('ea85f8ed28a1dc0e9ca3cb5d7967f6419d8c81e97aebcb9f1ecffa38577b8892440fde8364eb5453f34f777b212b0558c913f4edf156d93de1d4602da23f7b42') + +build() { + cd "$srcdir"/marshmallow-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/marshmallow-$pkgver + python setup.py pytest +} + +package() { + cd marshmallow-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in python-marshmallow/repos (2 files)
Date: Friday, October 25, 2019 @ 15:41:55 Author: felixonmars Revision: 519161 archrelease: copy trunk to community-staging-any Added: python-marshmallow/repos/community-staging-any/ python-marshmallow/repos/community-staging-any/PKGBUILD (from rev 519159, python-marshmallow/trunk/PKGBUILD) --+ PKGBUILD | 53 + 1 file changed, 53 insertions(+) Copied: python-marshmallow/repos/community-staging-any/PKGBUILD (from rev 519159, python-marshmallow/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-25 15:41:55 UTC (rev 519161) @@ -0,0 +1,53 @@ +# Maintainer: Felix Yan + +pkgbase=python-marshmallow +pkgname=(python-marshmallow python2-marshmallow) +pkgver=2.20.1 +pkgrel=2 +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=('82438d9b4d164ca640ea069ab553ad92280a0b4f5c1aac1defd844d11aebc5efafd52144b2b23a1723c47ebec01a1f6111620d9d046af3a99fc6fb6eb9b91b93') + +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 +}
[arch-commits] Commit in python-marshmallow/repos (2 files)
Date: Saturday, June 30, 2018 @ 09:16:19 Author: felixonmars Revision: 348009 archrelease: copy trunk to community-staging-any Added: python-marshmallow/repos/community-staging-any/ python-marshmallow/repos/community-staging-any/PKGBUILD (from rev 348008, python-marshmallow/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: python-marshmallow/repos/community-staging-any/PKGBUILD (from rev 348008, python-marshmallow/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 09:16:19 UTC (rev 348009) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-marshmallow +pkgname=(python-marshmallow python2-marshmallow) +pkgver=2.15.3 +pkgrel=2 +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=('5cabbb3bb3d3ad3715d30ded56f13e50689f703c1c696bc7d102b32ace5de21528dc465b1d5fe9c07a175170ec53ac7a252aa04fb009d4e77f631414feaab830') + +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 +}
[arch-commits] Commit in python-marshmallow/repos (2 files)
Date: Wednesday, May 23, 2018 @ 09:01:04 Author: felixonmars Revision: 328123 archrelease: copy trunk to community-any Added: python-marshmallow/repos/community-any/ python-marshmallow/repos/community-any/PKGBUILD (from rev 328122, python-marshmallow/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: python-marshmallow/repos/community-any/PKGBUILD (from rev 328122, python-marshmallow/trunk/PKGBUILD) === --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-05-23 09:01:04 UTC (rev 328123) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan+ +pkgbase=python-marshmallow +pkgname=(python-marshmallow python2-marshmallow) +pkgver=2.15.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=('5cabbb3bb3d3ad3715d30ded56f13e50689f703c1c696bc7d102b32ace5de21528dc465b1d5fe9c07a175170ec53ac7a252aa04fb009d4e77f631414feaab830') + +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 +}