Date: Tuesday, July 31, 2018 @ 02:56:30 Author: kkeen Revision: 365022
archrelease: copy trunk to community-staging-any Added: python-blessings/repos/community-staging-any/PKGBUILD (from rev 365021, python-blessings/trunk/PKGBUILD) Deleted: python-blessings/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-31 02:56:16 UTC (rev 365021) +++ PKGBUILD 2018-07-31 02:56:30 UTC (rev 365022) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: Andrey Mikhaylenko <neithere at gmail dot com> - -pkgbase=python-blessings -pkgname=(python-blessings python2-blessings) -_pkgname=blessings -pkgver=1.6.1 -pkgrel=2 -pkgdesc="A thin, practical wrapper around terminal coloring, styling, and positioning" -url="https://github.com/erikrose/blessings" -arch=('any') -license=('MIT') -depends=('python') -makedepends=('python-distribute' 'python2-distribute') -#options=(!emptydirs) -source=("https://files.pythonhosted.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz") -md5sums=('548a69d43c991fa85fdaa24806884e7b') - -prepare() { - cd "$srcdir" - cp -r blessings-$pkgver blessings2-$pkgver -} - -package_python-blessings() { - cd "$srcdir/blessings-$pkgver" - python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-blessings/LICENSE" -} - -package_python2-blessings() { - depends=('python2') - cd "$srcdir/blessings2-$pkgver" - python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-blessings/LICENSE" -} - Copied: python-blessings/repos/community-staging-any/PKGBUILD (from rev 365021, python-blessings/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-31 02:56:30 UTC (rev 365022) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Andrey Mikhaylenko <neithere at gmail dot com> + +pkgbase=python-blessings +pkgname=(python-blessings python2-blessings) +_pkgname=blessings +pkgver=1.7 +pkgrel=2 +pkgdesc="A thin, practical wrapper around terminal coloring, styling, and positioning" +url="https://github.com/erikrose/blessings" +arch=('any') +license=('MIT') +depends=('python') +makedepends=('python-distribute' 'python2-distribute') +#options=(!emptydirs) +source=("https://files.pythonhosted.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz") +md5sums=('38555a2bba0ace706aec58444368e022') + +prepare() { + cd "$srcdir" + cp -r blessings-$pkgver blessings2-$pkgver +} + +package_python-blessings() { + cd "$srcdir/blessings-$pkgver" + python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-blessings/LICENSE" +} + +package_python2-blessings() { + depends=('python2') + cd "$srcdir/blessings2-$pkgver" + python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-blessings/LICENSE" +} +