[arch-commits] Commit in python-planout/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, March 27, 2019 @ 11:21:41 Author: felixonmars Revision: 444187 archrelease: copy trunk to community-any Added: python-planout/repos/community-any/PKGBUILD (from rev 444186, python-planout/trunk/PKGBUILD) Deleted: python-planout/repos/community-any/PKGBUILD --+ PKGBUILD | 95 +++-- 1 file changed, 37 insertions(+), 58 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-03-27 11:21:31 UTC (rev 444186) +++ PKGBUILD2019-03-27 11:21:41 UTC (rev 444187) @@ -1,58 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan - -pkgbase=python-planout -pkgname=(python-planout python2-planout) -pkgver=0.6.0 -_commit=6ba0aba6addb08e03ed6e2d21f9b224b3d56d503 -pkgrel=3 -pkgdesc="A framework for online field experimentation" -arch=('any') -url='http://facebook.github.io/planout' -license=('custom:BSD') -makedepends=('python-six' 'python2-six' 'git') -checkdepends=('python-pytest' 'python2-pytest') -source=("git+https://github.com/facebook/planout.git#commit=$_commit;) -sha512sums=('SKIP') - -prepare() { - # https://github.com/facebook/planout/pull/104 - sed -e '42s/\t//' \ - -e '43s/range(8)/list(range(8))/' \ - -i planout/python/planout/test/test_assignment.py - cp -a planout{,-py2} -} - -build() { - cd "$srcdir"/planout/python - python setup.py build - - cd "$srcdir"/planout-py2/python - python2 setup.py build -} - -check() { - cd "$srcdir"/planout/python/planout/test - py.test - - cd "$srcdir"/planout-py2/python/planout/test - py.test2 -} - -package_python-planout() { - depends=('python-six') - - cd planout/python - python setup.py install -O1 --root "$pkgdir" - - install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-planout() { - depends=('python2-six') - - cd planout-py2/python - python2 setup.py install -O1 --root "$pkgdir" - - install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-planout/repos/community-any/PKGBUILD (from rev 444186, python-planout/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-03-27 11:21:41 UTC (rev 444187) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +pkgname=python-planout +pkgver=0.6.0 +_commit=6ba0aba6addb08e03ed6e2d21f9b224b3d56d503 +pkgrel=4 +pkgdesc="A framework for online field experimentation" +arch=('any') +url='http://facebook.github.io/planout' +license=('custom:BSD') +depends=('python-six') +checkdepends=('python-pytest') +source=("$pkgname-$_commit.tar.gz::https://github.com/facebook/planout/archive/$_commit.tar.gz;) +sha512sums=('a066aafcc61b0bad3a7ac439d6bc1bb1081405cf5dc99db49e31594dd45b1b3ff743216a1a9a12e04b35d176cdb8e296026f2b56c8cd28afe6edf7b7ea3275b9') + +prepare() { + # https://github.com/facebook/planout/pull/104 + sed -e '42s/\t//' \ + -e '43s/range(8)/list(range(8))/' \ + -i planout-$_commit/python/planout/test/test_assignment.py +} + +build() { + cd planout-$_commit/python + python setup.py build +} + +check() { + cd planout-$_commit/python/planout/test + py.test +} + +package() { + cd planout-$_commit/python + python setup.py install -O1 --root "$pkgdir" + install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in python-planout/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, April 15, 2016 @ 04:19:09 Author: fyan Revision: 171092 archrelease: copy trunk to community-any Added: python-planout/repos/community-any/PKGBUILD (from rev 171091, python-planout/trunk/PKGBUILD) Deleted: python-planout/repos/community-any/PKGBUILD --+ PKGBUILD | 112 +++-- 1 file changed, 58 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-04-15 02:18:55 UTC (rev 171091) +++ PKGBUILD2016-04-15 02:19:09 UTC (rev 171092) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan- -pkgbase=python-planout -pkgname=(python-planout python2-planout) -pkgver=0.5.20151020 -_commit=9a47b316aa31024588f063426bbadd8867cdab77 -pkgrel=1 -pkgdesc="A framework for online field experimentation" -arch=('any') -url='http://facebook.github.io/planout' -license=('custom:BSD') -makedepends=('python-six' 'python2-six' 'git') -checkdepends=('python-pytest' 'python2-pytest') -source=("git+https://github.com/facebook/planout.git#commit=$_commit;) -sha512sums=('SKIP') - -prepare() { - cp -a planout{,-py2} -} - -build() { - cd "$srcdir/planout/python" - python setup.py build - - cd "$srcdir/planout-py2/python" - python2 setup.py build -} - -check() { - cd "$srcdir/planout/python/planout/test" - py.test - - cd "$srcdir/planout-py2/python/planout/test" - py.test2 -} - -package_python-planout() { - depends=('python-six') - - cd planout/python - python setup.py install -O1 --root "$pkgdir" - - install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-planout() { - depends=('python2-six') - - cd planout-py2/python - python2 setup.py install -O1 --root "$pkgdir" - - install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-planout/repos/community-any/PKGBUILD (from rev 171091, python-planout/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-04-15 02:19:09 UTC (rev 171092) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-planout +pkgname=(python-planout python2-planout) +pkgver=0.6.0 +_commit=6ba0aba6addb08e03ed6e2d21f9b224b3d56d503 +pkgrel=1 +pkgdesc="A framework for online field experimentation" +arch=('any') +url='http://facebook.github.io/planout' +license=('custom:BSD') +makedepends=('python-six' 'python2-six' 'git') +checkdepends=('python-pytest' 'python2-pytest') +source=("git+https://github.com/facebook/planout.git#commit=$_commit;) +sha512sums=('SKIP') + +prepare() { + # https://github.com/facebook/planout/pull/104 + sed -e '42s/\t//' \ + -e '43s/range(8)/list(range(8))/' \ + -i planout/python/planout/test/test_assignment.py + cp -a planout{,-py2} +} + +build() { + cd "$srcdir"/planout/python + python setup.py build + + cd "$srcdir"/planout-py2/python + python2 setup.py build +} + +check() { + cd "$srcdir"/planout/python/planout/test + py.test + + cd "$srcdir"/planout-py2/python/planout/test + py.test2 +} + +package_python-planout() { + depends=('python-six') + + cd planout/python + python setup.py install -O1 --root "$pkgdir" + + install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-planout() { + depends=('python2-six') + + cd planout-py2/python + python2 setup.py install -O1 --root "$pkgdir" + + install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}