[arch-commits] Commit in bandit/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:12:02 Author: foutrelis Revision: 354940 archrelease: copy trunk to community-staging-any Added: bandit/repos/community-staging-any/ bandit/repos/community-staging-any/PKGBUILD (from rev 354939, bandit/trunk/PKGBUILD) --+ PKGBUILD | 18 ++ 1 file changed, 18 insertions(+) Copied: bandit/repos/community-staging-any/PKGBUILD (from rev 354939, bandit/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:12:02 UTC (rev 354940) @@ -0,0 +1,18 @@ +# Maintainer: Jelle van der Waa + +pkgname=bandit +pkgver=1.4.0 +pkgrel=4 +pkgdesc='Python security linter from OpenStack Security' +arch=('any') +url='https://wiki.openstack.org/wiki/Security/Projects/Bandit' +license=('Apache') +depends=('python-yaml' 'python-stevedore' 'python-appdirs' 'python-six' 'python-pbr') +makedepends=('python-setuptools' 'git') +source=('https://pypi.python.org/packages/45/b2/f5a4adb1e7773e6d631481b784ad49e6ec56aa81e9fdafcabf0fe3e0241a/bandit-1.4.0.tar.gz') +md5sums=('f74155cb9921be857693b32d2531e857') + +package() { +cd "bandit-$pkgver" +python setup.py install --root=$pkgdir --optimize=1 +}
[arch-commits] Commit in znc/repos (5 files)
Date: Sunday, July 8, 2018 @ 14:14:21 Author: foutrelis Revision: 354946 archrelease: copy trunk to community-staging-x86_64 Added: znc/repos/community-staging-x86_64/ znc/repos/community-staging-x86_64/PKGBUILD (from rev 354945, znc/trunk/PKGBUILD) znc/repos/community-staging-x86_64/znc.install (from rev 354945, znc/trunk/znc.install) znc/repos/community-staging-x86_64/znc.sysusers (from rev 354945, znc/trunk/znc.sysusers) znc/repos/community-staging-x86_64/znc.tmpfiles (from rev 354945, znc/trunk/znc.tmpfiles) --+ PKGBUILD | 51 +++ znc.install | 17 + znc.sysusers |1 + znc.tmpfiles |1 + 4 files changed, 70 insertions(+) Copied: znc/repos/community-staging-x86_64/PKGBUILD (from rev 354945, znc/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:14:21 UTC (rev 354946) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: SĂ©bastien Luttringer +# Contributor: Kaiting Chen +# Contributor: mickael9 + +pkgname=znc +pkgver=1.7.0 +pkgrel=3 +pkgdesc='An IRC bouncer with modules & scripts support' +url='http://wiki.znc.in/' +license=('GPL2') +arch=('x86_64') +depends=('libsasl' 'icu' 'boost-libs') +makedepends=('tcl' 'python' 'perl' 'cmake' 'boost') +optdepends=('tcl: modtcl module' +'python: modpython module' +'perl: modperl module' +'cyrus-sasl: saslauth module') +install=$pkgname.install +source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz"{,.sig} +"$pkgname.tmpfiles" +"$pkgname.sysusers") +validpgpkeys=('D5823CACB477191CAC007AE420CC0209989E') #Alexey Sokolov +sha256sums=('c07e31439ac6b948a577bd61a9d5f61a6d191d387423779b937aa1404051b96f' +'SKIP' +'8cd1b5b011c706fea9dc0c70d4daa75a53bf0966d6e96a3fce3a541777aa2771' +'8802f1b84ab3031db7cc45678f008ceca9b08b2012412a3d4ff1ea596586bb2a') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DWANT_PYTHON=ON \ +-DWANT_PERL=ON \ +-DWANT_TCL=ON \ +-DWANT_SYSTEMD=ON \ +-DSYSTEMD_DIR=/usr/lib/systemd/system + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" + install -Dm644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" +} Copied: znc/repos/community-staging-x86_64/znc.install (from rev 354945, znc/trunk/znc.install) === --- community-staging-x86_64/znc.install(rev 0) +++ community-staging-x86_64/znc.install2018-07-08 14:14:21 UTC (rev 354946) @@ -0,0 +1,17 @@ +#/bin/bash + +# arg 1: the new package version +post_install() { + echo '==> Use 'znc --makeconf' as user znc to generate your first config' +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if (( "$(vercmp $2 1.0-4)" < 0 )); then +usermod -d /var/lib/znc znc 2>/dev/null && echo '==> znc home directory has moved to /var/lib/znc' + fi + : +} + +# vim:set ts=2 sw=2 ft=sh et: Copied: znc/repos/community-staging-x86_64/znc.sysusers (from rev 354945, znc/trunk/znc.sysusers) === --- community-staging-x86_64/znc.sysusers (rev 0) +++ community-staging-x86_64/znc.sysusers 2018-07-08 14:14:21 UTC (rev 354946) @@ -0,0 +1 @@ +u znc - - /var/lib/znc Copied: znc/repos/community-staging-x86_64/znc.tmpfiles (from rev 354945, znc/trunk/znc.tmpfiles) === --- community-staging-x86_64/znc.tmpfiles (rev 0) +++ community-staging-x86_64/znc.tmpfiles 2018-07-08 14:14:21 UTC (rev 354946) @@ -0,0 +1 @@ +d /var/lib/znc 0750 znc znc -
[arch-commits] Commit in python-h2/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:12:22 Author: foutrelis Revision: 354941 Python 3.7 rebuild Modified: python-h2/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:12:02 UTC (rev 354940) +++ PKGBUILD2018-07-08 14:12:22 UTC (rev 354941) @@ -4,7 +4,7 @@ pkgbase=python-h2 pkgname=('python-h2' 'python2-h2') pkgver=3.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="HTTP/2 State-Machine based protocol implementation" arch=('any') license=('MIT')
[arch-commits] Commit in python-h2/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:12:27 Author: foutrelis Revision: 354942 archrelease: copy trunk to community-staging-any Added: python-h2/repos/community-staging-any/ python-h2/repos/community-staging-any/PKGBUILD (from rev 354941, python-h2/trunk/PKGBUILD) --+ PKGBUILD | 55 +++ 1 file changed, 55 insertions(+) Copied: python-h2/repos/community-staging-any/PKGBUILD (from rev 354941, python-h2/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:12:27 UTC (rev 354942) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-h2 +pkgname=('python-h2' 'python2-h2') +pkgver=3.0.1 +pkgrel=2 +pkgdesc="HTTP/2 State-Machine based protocol implementation" +arch=('any') +license=('MIT') +url="http://hyper.rtfd.org; +makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 'python2-hpack' + 'python-hyperframe' 'python2-hyperframe' 'python2-enum34') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-hypothesis' + 'python2-hypothesis') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz;) +sha512sums=('5d98b4fb654c20f6b9e6918bb71b88a42a3027bae795f31c32c2b5cc4428774457c44a194f9c819f99b9cfd01753a6e6d8edb6c162020ff463602452d8e9057c') + +prepare() { + cp -a hyper-h2-$pkgver{,-py2} + + export LC_CTYPE=en_US.UTF-8 +} + +build() { + cd "$srcdir"/hyper-h2-$pkgver + python setup.py build + + cd "$srcdir"/hyper-h2-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/hyper-h2-$pkgver + python setup.py pytest + + cd "$srcdir"/hyper-h2-$pkgver-py2 + python2 setup.py pytest +} + +package_python-h2() { + depends=('python-hpack' 'python-hyperframe') + + cd hyper-h2-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-h2() { + depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34') + + cd hyper-h2-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in python-furl/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:13:15 Author: foutrelis Revision: 354943 Python 3.7 rebuild Modified: python-furl/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:12:27 UTC (rev 354942) +++ PKGBUILD2018-07-08 14:13:15 UTC (rev 354943) @@ -5,7 +5,7 @@ pkgbase=python-furl pkgname=('python-furl' 'python2-furl') pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A small Python library that makes parsing and manipulating URLs easy" url="https://github.com/gruns/furl; makedepends=('python-setuptools' 'python2-setuptools')
[arch-commits] Commit in python-furl/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:13:19 Author: foutrelis Revision: 354944 archrelease: copy trunk to community-staging-any Added: python-furl/repos/community-staging-any/ python-furl/repos/community-staging-any/PKGBUILD (from rev 354943, python-furl/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: python-furl/repos/community-staging-any/PKGBUILD (from rev 354943, python-furl/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:13:19 UTC (rev 354944) @@ -0,0 +1,57 @@ +# Maintainer: David Runge +# Contributor: Husam Bilal + +_name=furl +pkgbase=python-furl +pkgname=('python-furl' 'python2-furl') +pkgver=1.1 +pkgrel=2 +pkgdesc="A small Python library that makes parsing and manipulating URLs easy" +url="https://github.com/gruns/furl; +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pycodestyle' 'python2-pycodestyle') +license=('custom:Unlicense') +arch=('any') +source=("https://pypi.python.org/packages/source/f/${_name}/${_name}-${pkgver}.tar.gz;) +sha512sums=('5af4acc5736f8841fd4abc002fc4c9668da2e3655f197773e603242ca29c40021dc388c760959fea7847cf1be71d5b367d56eaf263c84b171659af0632364a9c') + +prepare() { + mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}" + cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" +} + +build() { + cd "${pkgname[0]}-${pkgver}" + python setup.py build + cd ../"${pkgname[1]}-${pkgver}" + python2 setup.py build +} + +check() { + cd "${pkgname[0]}-${pkgver}" + python setup.py test + cd ../"${pkgname[1]}-${pkgver}" + python2 setup.py test +} + +package_python-furl() { + depends=('python-six' 'python-orderedmultidict') + cd "${pkgname[0]}-${pkgver}" + python setup.py install --skip-build \ +--optimize=1 \ +--prefix=/usr \ +--root="${pkgdir}" + install -vDm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE" + install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" -vDm644 {API,README}.md +} + +package_python2-furl() { + depends=('python2-six' 'python2-orderedmultidict') + cd "${pkgname[0]}-${pkgver}" + python2 setup.py install --skip-build \ +--optimize=1 \ +--prefix=/usr \ +--root="${pkgdir}" + install -vDm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE" + install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" -vDm644 {API,README}.md +}
[arch-commits] Commit in znc/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:14:15 Author: foutrelis Revision: 354945 Python 3.7 rebuild Modified: znc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:13:19 UTC (rev 354944) +++ PKGBUILD2018-07-08 14:14:15 UTC (rev 354945) @@ -5,7 +5,7 @@ pkgname=znc pkgver=1.7.0 -pkgrel=2 +pkgrel=3 pkgdesc='An IRC bouncer with modules & scripts support' url='http://wiki.znc.in/' license=('GPL2')
[arch-commits] Commit in python-urwidtrees/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:22:08 Author: foutrelis Revision: 354959 archrelease: copy trunk to community-staging-any Added: python-urwidtrees/repos/community-staging-any/ python-urwidtrees/repos/community-staging-any/PKGBUILD (from rev 354958, python-urwidtrees/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: python-urwidtrees/repos/community-staging-any/PKGBUILD (from rev 354958, python-urwidtrees/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:22:08 UTC (rev 354959) @@ -0,0 +1,42 @@ +# Maintainer: Lukas Fleischer +# Contributor: Ian Denhardt + +_pkgname=urwidtrees +pkgbase=python-$_pkgname +pkgname=(python-$_pkgname python2-$_pkgname) +pkgver=1.0.2 +pkgrel=2 +pkgdesc="Tree widgets for urwid." +arch=(any) +url="https://github.com/pazz/$_pkgname; +license=(GPL3) +makedepends=(python 'python-urwid>=1.1.0' python-sphinx + python2 'python2-urwid>=1.1.0' python2-sphinx) +source=("$_pkgname-$pkgver.tar.gz::https://github.com/pazz/$_pkgname/archive/$pkgver.tar.gz;) +md5sums=('07699e009203486f9c1e19c2fd5ef201') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build + make SPHINXBUILD=sphinx-build -C docs man html +} + +package_python-urwidtrees() { + depends=(python 'python-urwid>=1.1.0') + cd "$srcdir/$_pkgname-$pkgver" + + python setup.py install --optimize=1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + cp -a docs/build/html/* "$pkgdir/usr/share/doc/$pkgname" +} + +package_python2-urwidtrees() { + depends=(python2 'python2-urwid>=1.1.0') + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py install --optimize=1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + cp -a docs/build/html/* "$pkgdir/usr/share/doc/$pkgname" +}
[arch-commits] Commit in python-service-identity/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:22:40 Author: foutrelis Revision: 328078 archrelease: copy trunk to staging-any Added: python-service-identity/repos/staging-any/ python-service-identity/repos/staging-any/PKGBUILD (from rev 328077, python-service-identity/trunk/PKGBUILD) --+ PKGBUILD | 55 +++ 1 file changed, 55 insertions(+) Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 328077, python-service-identity/trunk/PKGBUILD) === --- staging-any/PKGBUILD(rev 0) +++ staging-any/PKGBUILD2018-07-08 14:22:40 UTC (rev 328078) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-service-identity +pkgname=('python-service-identity' 'python2-service-identity') +pkgver=17.0.0 +pkgrel=2 +pkgdesc="Service identity verification for pyOpenSSL" +arch=('any') +license=('MIT') +url="http://pypi.python.org/pypi/service_identity; +makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 'python2-pyasn1' + 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 'python2-pyasn1-modules' + 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service_identity/archive/$pkgver.tar.gz;) +sha512sums=('3824cb473420a5ce6779fd35ff931189ed68286ad1f7f2936e3253a785cd76a77bbb95210a4a5fde1b1ef0c8d9c762b8e89ab44dce60ee43e34b2553ab78b5aa') + +prepare() { + cp -a service_identity-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/service_identity-$pkgver + python setup.py build + + cd "$srcdir"/service_identity-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/service_identity-$pkgver + python setup.py pytest + + cd "$srcdir"/service_identity-$pkgver-py2 + python2 setup.py pytest +} + +package_python-service-identity() { + depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 'python-attrs') + optdepends=('python-idna: for Internationalized Domain Names support') + + cd service_identity-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-service-identity() { + depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 'python2-attrs') + optdepends=('python2-idna: for Internationalized Domain Names support') + + cd service_identity-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in python-requests-kerberos/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:22:17 Author: foutrelis Revision: 354961 archrelease: copy trunk to community-staging-any Added: python-requests-kerberos/repos/community-staging-any/ python-requests-kerberos/repos/community-staging-any/PKGBUILD (from rev 354960, python-requests-kerberos/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: python-requests-kerberos/repos/community-staging-any/PKGBUILD (from rev 354960, python-requests-kerberos/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:22:17 UTC (rev 354961) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-requests-kerberos +pkgname=('python-requests-kerberos' 'python2-requests-kerberos') +pkgver=0.12.0 +pkgrel=2 +pkgdesc="A kerberos of useful classes and functions to be used with python-requests." +arch=('any') +url="https://github.com/requests/requests-kerberos; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' + 'python-pykerberos' 'python2-pykerberos' 'python-cryptography' 'python2-cryptography') +checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/requests-kerberos/archive/v$pkgver.tar.gz;) +sha512sums=('b925b5f9f6753e87368dce451927df09568d0d6126d4ae8514bbd99a794d983e32298b92b6239be9f95595483e2682259cf165c6997d17d9cea64a81d4af1a06') + +prepare() { + cp -a requests-kerberos-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/requests-kerberos-$pkgver + python setup.py build + + cd "$srcdir"/requests-kerberos-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests-kerberos-$pkgver + py.test + + cd "$srcdir"/requests-kerberos-$pkgver-py2 + py.test2 +} + +package_python-requests-kerberos() { + depends=('python-requests' 'python-pykerberos' 'python-cryptography') + + cd "$srcdir"/requests-kerberos-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-requests-kerberos() { + depends=('python2-requests' 'python2-pykerberos' 'python2-cryptography') + + cd "$srcdir"/requests-kerberos-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in pandoc-citeproc/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:22:47 Author: felixonmars Revision: 354962 upgpkg: pandoc-citeproc 0.14.3.1-72 rebuild with network 2.7.0.2 Modified: pandoc-citeproc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:22:17 UTC (rev 354961) +++ PKGBUILD2018-07-08 14:22:47 UTC (rev 354962) @@ -4,7 +4,7 @@ pkgname=pandoc-citeproc pkgver=0.14.3.1 -pkgrel=71 +pkgrel=72 pkgdesc="Supports using pandoc with citeproc" url="https://hackage.haskell.org/package/$pkgname; license=("custom:BSD3")
[arch-commits] Commit in arm-none-eabi-gdb/trunk (PKGBUILD fix_python37.patch)
Date: Sunday, July 8, 2018 @ 14:23:13 Author: foutrelis Revision: 354963 Pull python 3.7 fix from upstream Added: arm-none-eabi-gdb/trunk/fix_python37.patch Modified: arm-none-eabi-gdb/trunk/PKGBUILD + PKGBUILD |8 -- fix_python37.patch | 66 +++ 2 files changed, 72 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:22:47 UTC (rev 354962) +++ PKGBUILD2018-07-08 14:23:13 UTC (rev 354963) @@ -13,14 +13,18 @@ depends=(xz ncurses expat python guile2.0 gdb-common mpfr) optdepends=('stlink: for debugging over STLINK') options=(!emptydirs) -source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig}) +source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig} +fix_python37.patch) sha256sums=('af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34' -'SKIP') +'SKIP' +'8978e8f926cc051ed8394f006c288fecbe067407ac8a4474cf28b71180a66599') validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker prepare() { cd gdb-$pkgver sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + patch -p1 < ../fix_python37.patch } build() { Added: fix_python37.patch === --- fix_python37.patch (rev 0) +++ fix_python37.patch 2018-07-08 14:23:13 UTC (rev 354963) @@ -0,0 +1,66 @@ +From aeab512851bf6ed623d1c6c4305b6ce05e51a10c Mon Sep 17 00:00:00 2001 +From: Paul Koning +Date: Fri, 8 Jun 2018 13:26:36 -0400 +Subject: [PATCH] Fix build issue with Python 3.7 + +Originally reported in +https://bugzilla.redhat.com/show_bug.cgi?id=1577396 -- gdb build fails +with Python 3.7 due to references to a Python internal function whose +declaration changed in 3.7. + +gdb/ChangeLog +2018-06-08 Paul Koning + + PR gdb/23252 + + * python/python.c (do_start_initialization): + Avoid call to internal Python API. + (init__gdb_module): New function. +--- + gdb/ChangeLog | 8 + gdb/python/python.c | 18 +++--- + 2 files changed, 23 insertions(+), 3 deletions(-) + +diff --git a/gdb/python/python.c b/gdb/python/python.c +index 1805c906284..20fc674f20a 100644 +--- a/gdb/python/python.c b/gdb/python/python.c +@@ -1667,6 +1667,17 @@ finalize_python (void *ignore) + restore_active_ext_lang (previous_active); + } + ++#ifdef IS_PY3K ++/* This is called via the PyImport_AppendInittab mechanism called ++ during initialization, to make the built-in _gdb module known to ++ Python. */ ++PyMODINIT_FUNC ++init__gdb_module (void) ++{ ++ return PyModule_Create (_GdbModuleDef); ++} ++#endif ++ + static bool + do_start_initialization () + { +@@ -1707,6 +1718,9 @@ do_start_initialization () + remain alive for the duration of the program's execution, so + it is not freed after this call. */ + Py_SetProgramName (progname_copy); ++ ++ /* Define _gdb as a built-in module. */ ++ PyImport_AppendInittab ("_gdb", init__gdb_module); + #else + Py_SetProgramName (progname.release ()); + #endif +@@ -1716,9 +1730,7 @@ do_start_initialization () + PyEval_InitThreads (); + + #ifdef IS_PY3K +- gdb_module = PyModule_Create (_GdbModuleDef); +- /* Add _gdb module to the list of known built-in modules. */ +- _PyImport_FixupBuiltin (gdb_module, "_gdb"); ++ gdb_module = PyImport_ImportModule ("_gdb"); + #else + gdb_module = Py_InitModule ("_gdb", python_GdbMethods); + #endif
[arch-commits] Commit in pandoc-citeproc/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:23:14 Author: felixonmars Revision: 354964 archrelease: copy trunk to community-staging-x86_64 Added: pandoc-citeproc/repos/community-staging-x86_64/ pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 354962, pandoc-citeproc/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 354962, pandoc-citeproc/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:23:14 UTC (rev 354964) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=pandoc-citeproc +pkgver=0.14.3.1 +pkgrel=72 +pkgdesc="Supports using pandoc with citeproc" +url="https://hackage.haskell.org/package/$pkgname; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec' 'haskell-base-compat' + 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-old-locale' 'pandoc' + 'haskell-pandoc-types' 'haskell-rfc5051' 'haskell-setenv' 'haskell-split' + 'haskell-syb' 'haskell-tagsoup' 'haskell-temporary' 'haskell-text-icu' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-xml-conduit' 'haskell-yaml') +conflicts=('haskell-pandoc-citeproc') +replaces=('haskell-pandoc-citeproc') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;) +sha512sums=('ab3d395c77192f72fa5cf9606f3cc5fc37c00a5719a58203d4b7c6edbc032524dd8457abe292d5d7dbe5ab2eaccd545269355931451ca0835d0ac1aa3cc48414') + +prepare() { +cd "${srcdir}/$pkgname-${pkgver}" +# TODO: find a better solution +sed -i "s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|" tests/test-pandoc-citeproc.hs +} + +build() { +cd "${srcdir}/$pkgname-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir="$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files -fbibutils -f-static +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver +runhaskell Setup test +} + +package() { +cd "${srcdir}/$pkgname-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/$pkgname.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/$pkgname.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE" +}
[arch-commits] Commit in python-service-identity/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:22:36 Author: foutrelis Revision: 328077 Python 3.7 rebuild Modified: python-service-identity/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:10:03 UTC (rev 328076) +++ PKGBUILD2018-07-08 14:22:36 UTC (rev 328077) @@ -4,7 +4,7 @@ pkgbase=python-service-identity pkgname=('python-service-identity' 'python2-service-identity') pkgver=17.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Service identity verification for pyOpenSSL" arch=('any') license=('MIT')
[arch-commits] Commit in python-srcinfo/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:15:41 Author: felixonmars Revision: 354977 Python 3.7 rebuild Modified: python-srcinfo/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:13:48 UTC (rev 354976) +++ PKGBUILD2018-07-08 15:15:41 UTC (rev 354977) @@ -2,7 +2,7 @@ pkgname=python-srcinfo pkgver=0.0.8 -pkgrel=2 +pkgrel=3 pkgdesc="Simple .SRCINFO parsing library" url='https://github.com/kyrias/python-srcinfo'
[arch-commits] Commit in postgrest/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:13:18 Author: felixonmars Revision: 354975 upgpkg: postgrest 0.4.4.0-194 rebuild with network 2.7.0.2 Modified: postgrest/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:10:17 UTC (rev 354974) +++ PKGBUILD2018-07-08 15:13:18 UTC (rev 354975) @@ -4,7 +4,7 @@ pkgname=postgrest pkgver=0.4.4.0 -pkgrel=193 +pkgrel=194 pkgdesc="REST API for any Postgres database" url="https://github.com/begriffs/postgrest; license=("MIT")
[arch-commits] Commit in python-srcinfo/repos (2 files)
Date: Sunday, July 8, 2018 @ 15:16:04 Author: felixonmars Revision: 354978 archrelease: copy trunk to community-staging-any Added: python-srcinfo/repos/community-staging-any/ python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 354977, python-srcinfo/trunk/PKGBUILD) --+ PKGBUILD | 31 +++ 1 file changed, 31 insertions(+) Copied: python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 354977, python-srcinfo/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 15:16:04 UTC (rev 354978) @@ -0,0 +1,31 @@ +# Maintainer: Johannes Löthberg + +pkgname=python-srcinfo +pkgver=0.0.8 +pkgrel=3 + +pkgdesc="Simple .SRCINFO parsing library" +url='https://github.com/kyrias/python-srcinfo' +arch=('any') +license=('ISC') + +depends=('python' 'python-setuptools' 'python-parse') +checkdepends=('python-nose') + +source=("https://pypi.python.org/packages/source/s/srcinfo/srcinfo-$pkgver.tar.gz; + "https://pypi.python.org/packages/source/s/srcinfo/srcinfo-$pkgver.tar.gz.asc;) + +validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5') +md5sums=('5905c054ac2cd080bd0dbf1df5253608' + 'SKIP') + +check() { + cd srcinfo-"$pkgver" + python setup.py test +} + +package() { + cd srcinfo-"$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE +}
[arch-commits] Commit in shellcheck/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:26:34 Author: felixonmars Revision: 354984 upgpkg: shellcheck 0.5.0-38 rebuild with network 2.7.0.2 Modified: shellcheck/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:25:19 UTC (rev 354983) +++ PKGBUILD2018-07-08 15:26:34 UTC (rev 354984) @@ -5,7 +5,7 @@ _hkgname=ShellCheck pkgname=shellcheck pkgver=0.5.0 -pkgrel=37 +pkgrel=38 pkgdesc="Shell script analysis tool" url="http://www.shellcheck.net; license=("GPL")
[arch-commits] Commit in shellcheck/repos (2 files)
Date: Sunday, July 8, 2018 @ 15:26:58 Author: felixonmars Revision: 354985 archrelease: copy trunk to community-staging-x86_64 Added: shellcheck/repos/community-staging-x86_64/ shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 354984, shellcheck/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 354984, shellcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 15:26:58 UTC (rev 354985) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=ShellCheck +pkgname=shellcheck +pkgver=0.5.0 +pkgrel=38 +pkgdesc="Shell script analysis tool" +url="http://www.shellcheck.net; +license=("GPL") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-quickcheck' 'haskell-regex-tdfa') +makedepends=('ghc' 'pandoc') +source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;) +sha512sums=('87861cddb353262630e4370e12e508224b3c14e128082909b4b35f0526dfe648a744d68cc27f77f2f8bb098af37a2af7bdc805d88018bba5e48b6c1ff1749f10') + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh + +pandoc -s -t man shellcheck.1.md -o shellcheck.1 +} + +check() { +cd $pkgname-$pkgver +runhaskell Setup test +} + +package() { +cd $pkgname-$pkgver + +install -D -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in parallel-netcdf-openmpi/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:25:19 Author: archange Revision: 354983 upgpkg: parallel-netcdf-openmpi 1.10.0-1 Modified: parallel-netcdf-openmpi/trunk/PKGBUILD --+ PKGBUILD | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:21:55 UTC (rev 354982) +++ PKGBUILD2018-07-08 15:25:19 UTC (rev 354983) @@ -3,8 +3,8 @@ _pkg=parallel-netcdf _mpi=openmpi pkgname=${_pkg}-${_mpi} -pkgver=1.9.0 -pkgrel=2 +pkgver=1.10.0 +pkgrel=1 pkgdesc="A Parallel I/O Library for NetCDF File Access" arch=('x86_64') url="https://trac.mcs.anl.gov/projects/parallel-netcdf; @@ -16,16 +16,9 @@ conflicts=('parallel-netcdf') replaces=('parallel-netcdf') options=('!makeflags' 'staticlibs') -source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz; -'shared.patch') -sha1sums=('0978ae5cdaba925e73ced2b550fc02a132b2c5ed' - 'dae94c293b5be9fa31e73be95e4d56c1f598ffbf') +source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz;) +sha1sums=('9ac144f305e14ae6306f5e51af1b4329bfb86480') -prepare() { -cd ${_pkg}-${pkgver} -patch -p0 -i ../shared.patch -} - build() { cd ${_pkg}-${pkgver}
[arch-commits] Commit in sip/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:51:40 Author: arojas Revision: 328095 archrelease: copy trunk to staging-x86_64 Added: sip/repos/staging-x86_64/PKGBUILD (from rev 328094, sip/trunk/PKGBUILD) Deleted: sip/repos/staging-x86_64/PKGBUILD --+ PKGBUILD | 183 ++--- 1 file changed, 92 insertions(+), 91 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 16:51:23 UTC (rev 328094) +++ PKGBUILD2018-07-08 16:51:40 UTC (rev 328095) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') -pkgver=4.19.12 -pkgrel=2 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') - -prepare() { - mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} -} - -build() { - cd "$srcdir"/build - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make - - cd "$srcdir"/build-pyqt5-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd build - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd build - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('sip' 'python2') - - cd build-py2 - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip-pyqt5() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python') - - cd build-pyqt5 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip-pyqt5() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python2') - - cd build-pyqt5-py2 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: sip/repos/staging-x86_64/PKGBUILD (from rev 328094, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 16:51:40 UTC (rev 328095) @@ -0,0 +1,92 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgver=4.19.12 +pkgrel=5 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') + +prepare() { + mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-pyqt5 + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make + + cd "$srcdir"/build-pyqt5-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd build + make DESTDIR="$pkgdir" install -C sipgen + install -Dm644 ../sip-$pkgver/siplib/sip.h -t "$pkgdir"/usr/include + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +
[arch-commits] Commit in sip/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:51:23 Author: arojas Revision: 328094 Python 3.7 rebuild Modified: sip/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 16:50:03 UTC (rev 328093) +++ PKGBUILD2018-07-08 16:51:23 UTC (rev 328094) @@ -7,7 +7,7 @@ pkgbase=sip pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') pkgver=4.19.12 -pkgrel=4 +pkgrel=5 arch=('x86_64') url='http://www.riverbankcomputing.com/software/sip/intro' license=('custom:"sip"')
[arch-commits] Commit in haskell-sbv/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:33:10 Author: felixonmars Revision: 355135 upgpkg: haskell-sbv 7.9-20 rebuild with yaml 0.8.31.1 Modified: haskell-sbv/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:26:54 UTC (rev 355134) +++ PKGBUILD2018-07-08 17:33:10 UTC (rev 355135) @@ -5,7 +5,7 @@ _hkgname=sbv pkgname=haskell-sbv pkgver=7.9 -pkgrel=19 +pkgrel=20 pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT solving" url="http://leventerkok.github.com/sbv; license=("custom:BSD3")
[arch-commits] Commit in haskell-sbv/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:33:31 Author: felixonmars Revision: 355136 archrelease: copy trunk to community-staging-x86_64 Added: haskell-sbv/repos/community-staging-x86_64/ haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 355135, haskell-sbv/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 355135, haskell-sbv/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:33:31 UTC (rev 355136) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=sbv +pkgname=haskell-sbv +pkgver=7.9 +pkgrel=20 +pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT solving" +url="http://leventerkok.github.com/sbv; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 'haskell-async' + 'haskell-random' 'haskell-syb' 'haskell-data-binary-ieee754' + 'haskell-generic-deriving') +makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' 'haskell-tasty' 'haskell-tasty-golden' + 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +sha512sums=('970f326cc44d8cc219915f37d29c3e792a5bc2d153d408917013147ff7e2097b317b5cad0e79a595e272d3dcbc4a26507ba5fdf5b01582470afc303d18076d0c') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in stack/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 18:06:29 Author: felixonmars Revision: 355151 upgpkg: stack 1.7.1-63 rebuild with yaml 0.8.31.1 Modified: stack/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:58:47 UTC (rev 355150) +++ PKGBUILD2018-07-08 18:06:29 UTC (rev 355151) @@ -4,7 +4,7 @@ pkgname=stack pkgver=1.7.1 -pkgrel=62 +pkgrel=63 pkgdesc="The Haskell Tool Stack" url="https://github.com/commercialhaskell/stack; license=("custom:BSD3")
[arch-commits] Commit in bind/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 13:58:46 Author: foutrelis Revision: 328069 Python 3.7 rebuild Modified: bind/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 13:46:07 UTC (rev 328068) +++ PKGBUILD2018-07-08 13:58:46 UTC (rev 328069) @@ -8,7 +8,7 @@ pkgname=(bind bind-tools) _pkgver=9.13.0 pkgver=${_pkgver//-/.} -pkgrel=2 +pkgrel=3 url='https://www.isc.org/software/bind/' license=('MPL2') arch=('x86_64')
[arch-commits] Commit in python-curtsies/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:00:31 Author: foutrelis Revision: 354927 Python 3.7 rebuild Modified: python-curtsies/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 13:56:52 UTC (rev 354926) +++ PKGBUILD2018-07-08 14:00:31 UTC (rev 354927) @@ -5,7 +5,7 @@ pkgname=(python-curtsies python2-curtsies) _pkgname=curtsies pkgver=0.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Curses-like terminal wrapper with a display based on compositing 2d arrays of text" arch=('any') url="https://pypi.python.org/pypi/curtsies;
[arch-commits] Commit in python-curtsies/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:00:36 Author: foutrelis Revision: 354928 archrelease: copy trunk to community-staging-any Added: python-curtsies/repos/community-staging-any/ python-curtsies/repos/community-staging-any/PKGBUILD (from rev 354927, python-curtsies/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: python-curtsies/repos/community-staging-any/PKGBUILD (from rev 354927, python-curtsies/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:00:36 UTC (rev 354928) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Kyle Keen + +pkgbase=python-curtsies +pkgname=(python-curtsies python2-curtsies) +_pkgname=curtsies +pkgver=0.3.0 +pkgrel=2 +pkgdesc="Curses-like terminal wrapper with a display based on compositing 2d arrays of text" +arch=('any') +url="https://pypi.python.org/pypi/curtsies; +license=('MIT') +depends=('python-blessings' 'python-wcwidth') +makedepends=('python-setuptools' 'python2-setuptools') +source=("https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-$pkgver.tar.gz;) +md5sums=('20e7295c9592b4101915131a685725f0') + +prepare() { + cd "$srcdir" + cp -r curtsies-$pkgver curtsies2-$pkgver + + # 0.3.0 bug? + cd "$srcdir/curtsies-$pkgver" + sed -i 's/^.*typing.*$//' curtsies.egg-info/requires.txt setup.py +} + +build() { + cd "$srcdir/curtsies-$pkgver" + python3 setup.py build + + cd "$srcdir/curtsies2-$pkgver" + python2 setup.py build +} + +package_python-curtsies() { + cd "$srcdir/curtsies-$pkgver" + python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-curtsies/LICENSE" +} + +package_python2-curtsies() { + depends=('python2-blessings' 'python2-wcwidth' 'python2-typing') + cd "$srcdir/curtsies2-$pkgver" + python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-curtsies/LICENSE" +}
[arch-commits] Commit in aarch64-linux-gnu-gdb/trunk (PKGBUILD fix_python37.patch)
Date: Sunday, July 8, 2018 @ 14:17:58 Author: foutrelis Revision: 354955 Pull python 3.7 fix from upstream Added: aarch64-linux-gnu-gdb/trunk/fix_python37.patch Modified: aarch64-linux-gnu-gdb/trunk/PKGBUILD + PKGBUILD |8 -- fix_python37.patch | 66 +++ 2 files changed, 72 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:16:40 UTC (rev 354954) +++ PKGBUILD2018-07-08 14:17:58 UTC (rev 354955) @@ -11,14 +11,18 @@ license=(GPL3) depends=(xz ncurses expat python guile2.0 gdb-common mpfr) options=(!emptydirs) -source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig}) +source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig} +fix_python37.patch) validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker sha256sums=('af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34' -'SKIP') +'SKIP' +'8978e8f926cc051ed8394f006c288fecbe067407ac8a4474cf28b71180a66599') prepare() { cd gdb-$pkgver sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + patch -p1 < ../fix_python37.patch } build() { Added: fix_python37.patch === --- fix_python37.patch (rev 0) +++ fix_python37.patch 2018-07-08 14:17:58 UTC (rev 354955) @@ -0,0 +1,66 @@ +From aeab512851bf6ed623d1c6c4305b6ce05e51a10c Mon Sep 17 00:00:00 2001 +From: Paul Koning +Date: Fri, 8 Jun 2018 13:26:36 -0400 +Subject: [PATCH] Fix build issue with Python 3.7 + +Originally reported in +https://bugzilla.redhat.com/show_bug.cgi?id=1577396 -- gdb build fails +with Python 3.7 due to references to a Python internal function whose +declaration changed in 3.7. + +gdb/ChangeLog +2018-06-08 Paul Koning + + PR gdb/23252 + + * python/python.c (do_start_initialization): + Avoid call to internal Python API. + (init__gdb_module): New function. +--- + gdb/ChangeLog | 8 + gdb/python/python.c | 18 +++--- + 2 files changed, 23 insertions(+), 3 deletions(-) + +diff --git a/gdb/python/python.c b/gdb/python/python.c +index 1805c906284..20fc674f20a 100644 +--- a/gdb/python/python.c b/gdb/python/python.c +@@ -1667,6 +1667,17 @@ finalize_python (void *ignore) + restore_active_ext_lang (previous_active); + } + ++#ifdef IS_PY3K ++/* This is called via the PyImport_AppendInittab mechanism called ++ during initialization, to make the built-in _gdb module known to ++ Python. */ ++PyMODINIT_FUNC ++init__gdb_module (void) ++{ ++ return PyModule_Create (_GdbModuleDef); ++} ++#endif ++ + static bool + do_start_initialization () + { +@@ -1707,6 +1718,9 @@ do_start_initialization () + remain alive for the duration of the program's execution, so + it is not freed after this call. */ + Py_SetProgramName (progname_copy); ++ ++ /* Define _gdb as a built-in module. */ ++ PyImport_AppendInittab ("_gdb", init__gdb_module); + #else + Py_SetProgramName (progname.release ()); + #endif +@@ -1716,9 +1730,7 @@ do_start_initialization () + PyEval_InitThreads (); + + #ifdef IS_PY3K +- gdb_module = PyModule_Create (_GdbModuleDef); +- /* Add _gdb module to the list of known built-in modules. */ +- _PyImport_FixupBuiltin (gdb_module, "_gdb"); ++ gdb_module = PyImport_ImportModule ("_gdb"); + #else + gdb_module = Py_InitModule ("_gdb", python_GdbMethods); + #endif
[arch-commits] Commit in python-pyte/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:16:35 Author: foutrelis Revision: 354953 Python 3.7 rebuild Modified: python-pyte/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:15:54 UTC (rev 354952) +++ PKGBUILD2018-07-08 14:16:35 UTC (rev 354953) @@ -4,7 +4,7 @@ pkgbase=python-pyte pkgname=('python-pyte' 'python2-pyte') pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc='Simple VTXXX-compatible terminal emulator' arch=('any') license=('LGPL3')
[arch-commits] Commit in python-pyte/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:16:40 Author: foutrelis Revision: 354954 archrelease: copy trunk to community-staging-any Added: python-pyte/repos/community-staging-any/ python-pyte/repos/community-staging-any/PKGBUILD (from rev 354953, python-pyte/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: python-pyte/repos/community-staging-any/PKGBUILD (from rev 354953, python-pyte/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:16:40 UTC (rev 354954) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-pyte +pkgname=('python-pyte' 'python2-pyte') +pkgver=0.8.0 +pkgrel=2 +pkgdesc='Simple VTXXX-compatible terminal emulator' +arch=('any') +license=('LGPL3') +url='https://github.com/selectel/pyte' +makedepends=('python-setuptools' 'python2-setuptools' 'python-wcwidth' 'python2-wcwidth') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/selectel/pyte/archive/$pkgver.tar.gz;) +sha512sums=('c488fd0a61c1dc34b27e12ed9ba1109bb2c331626c982da06e7540bdd168008cb5106a17c71e60e38c493f2dd9f21ba3cf05118928744dfa192d62e511b4c4e8') + +prepare() { + cp -a pyte-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/pyte-$pkgver + python setup.py build + + cd "$srcdir"/pyte-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pyte-$pkgver + python setup.py pytest + + cd "$srcdir"/pyte-$pkgver-py2 + python2 setup.py pytest +} + +package_python-pyte() { + depends=('python-wcwidth') + + cd pyte-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-pyte() { + depends=('python2-wcwidth') + + cd pyte-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stack/repos (3 files)
Date: Sunday, July 8, 2018 @ 15:33:30 Author: felixonmars Revision: 354987 archrelease: copy trunk to community-staging-x86_64 Added: stack/repos/community-staging-x86_64/ stack/repos/community-staging-x86_64/PKGBUILD (from rev 354986, stack/trunk/PKGBUILD) stack/repos/community-staging-x86_64/stack.install (from rev 354986, stack/trunk/stack.install) ---+ PKGBUILD | 77 stack.install |4 ++ 2 files changed, 81 insertions(+) Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 354986, stack/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 15:33:30 UTC (rev 354987) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=stack +pkgver=1.7.1 +pkgrel=62 +pkgdesc="The Haskell Tool Stack" +url="https://github.com/commercialhaskell/stack; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 'haskell-ansi-terminal' + 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo' + 'haskell-exceptions' 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' + 'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-gitrev' 'haskell-hackage-security' + 'haskell-hashable' 'haskell-hpack' 'haskell-hpc' 'haskell-http-client' + 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory' + 'haskell-microlens' 'haskell-mintty' 'haskell-monad-logger' 'haskell-mono-traversable' + 'haskell-mustache' 'haskell-neat-interpolation' 'haskell-network-uri' 'haskell-open-browser' + 'haskell-optparse-applicative' 'haskell-optparse-simple' 'haskell-path' 'haskell-path-io' + 'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-persistent-template' + 'haskell-primitive' 'haskell-project-template' 'haskell-regex-applicative-text' + 'haskell-resourcet' 'haskell-retry' 'haskell-rio' 'haskell-split' 'haskell-store' + 'haskell-store-core' 'haskell-streaming-commons' 'haskell-tar' 'haskell-temporary' + 'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 'haskell-typed-process' + 'haskell-unicode-transforms' 'haskell-unix-compat' 'haskell-unliftio' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 'haskell-zip-archive' + 'haskell-zlib' 'haskell-bindings-uname') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-smallcheck') +checkdepends=('cabal-install') +conflicts=('haskell-stack') +replaces=('haskell-stack') +install="stack.install" +source=("$pkgname-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/v$pkgver.tar.gz;) +sha512sums=('786c116b4717f6e0f5ac0b5397db4834486610f511eafefe2356574545f97093fe3203824b7a3cabb2e0562e5c0443af3d93defe83751a9982727d88cafe78a7') + +prepare() { + cd $pkgname-$pkgver + sed -i '54d;55d;56d;57d;58d' src/test/Stack/StoreSpec.hs + hpack + sed -i '/semigroups/d' $pkgname.cabal +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ + -f-disable-git-info -f-integration-tests -f-static -f-hide-dependency-versions -f-supported-build + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $pkgname-$pkgver + # cabal update + LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" runhaskell Setup test + # Integration tests will result in 4 failures on Arch currently +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="${pkgdir}" + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + + LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) "${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > stack_completion_script + install -Dm644 stack_completion_script "${pkgdir}/usr/share/bash-completion/completions/stack" +} Copied: stack/repos/community-staging-x86_64/stack.install (from rev 354986,
[arch-commits] Commit in stack/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:33:10 Author: felixonmars Revision: 354986 upgpkg: stack 1.7.1-62 rebuild with network 2.7.0.2 Modified: stack/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:26:58 UTC (rev 354985) +++ PKGBUILD2018-07-08 15:33:10 UTC (rev 354986) @@ -4,7 +4,7 @@ pkgname=stack pkgver=1.7.1 -pkgrel=61 +pkgrel=62 pkgdesc="The Haskell Tool Stack" url="https://github.com/commercialhaskell/stack; license=("custom:BSD3")
[arch-commits] Commit in sip/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:49:22 Author: arojas Revision: 328092 Move sip.h to sip subpackage Modified: sip/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 16:42:19 UTC (rev 328091) +++ PKGBUILD2018-07-08 16:49:22 UTC (rev 328092) @@ -7,7 +7,7 @@ pkgbase=sip pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') pkgver=4.19.12 -pkgrel=3 +pkgrel=4 arch=('x86_64') url='http://www.riverbankcomputing.com/software/sip/intro' license=('custom:"sip"') @@ -43,6 +43,7 @@ cd build make DESTDIR="$pkgdir" install -C sipgen + install -Dm644 ../sip-$pkgver/siplib/sip.h -t "$pkgdir"/usr/include install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } @@ -53,7 +54,7 @@ cd build make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip + rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } @@ -64,7 +65,7 @@ cd build-py2 make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip + rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in sip/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:50:03 Author: arojas Revision: 328093 archrelease: copy trunk to testing-x86_64 Added: sip/repos/testing-x86_64/PKGBUILD (from rev 328092, sip/trunk/PKGBUILD) Deleted: sip/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 183 ++--- 1 file changed, 92 insertions(+), 91 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 16:49:22 UTC (rev 328092) +++ PKGBUILD2018-07-08 16:50:03 UTC (rev 328093) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') -pkgver=4.19.12 -pkgrel=3 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') - -prepare() { - mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} -} - -build() { - cd "$srcdir"/build - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools - make - - cd "$srcdir"/build-pyqt5-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd build - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd build - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('sip' 'python2') - - cd build-py2 - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip-pyqt5() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python') - - cd build-pyqt5 - make DESTDIR="$pkgdir" install - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip-pyqt5() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python2') - - cd build-pyqt5-py2 - make DESTDIR="$pkgdir" install - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: sip/repos/testing-x86_64/PKGBUILD (from rev 328092, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 16:50:03 UTC (rev 328093) @@ -0,0 +1,92 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgver=4.19.12 +pkgrel=4 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') + +prepare() { + mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-pyqt5 + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make + + cd "$srcdir"/build-pyqt5-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd build + make DESTDIR="$pkgdir" install -C sipgen + install -Dm644 ../sip-$pkgver/siplib/sip.h -t "$pkgdir"/usr/include + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +
[arch-commits] Commit in python-netcdf4/repos (3 files)
Date: Sunday, July 8, 2018 @ 17:12:46 Author: felixonmars Revision: 355119 archrelease: copy trunk to community-staging-x86_64 Added: python-netcdf4/repos/community-staging-x86_64/ python-netcdf4/repos/community-staging-x86_64/802.patch (from rev 355118, python-netcdf4/trunk/802.patch) python-netcdf4/repos/community-staging-x86_64/PKGBUILD (from rev 355118, python-netcdf4/trunk/PKGBUILD) ---+ 802.patch | 22 PKGBUILD | 65 2 files changed, 87 insertions(+) Copied: python-netcdf4/repos/community-staging-x86_64/802.patch (from rev 355118, python-netcdf4/trunk/802.patch) === --- community-staging-x86_64/802.patch (rev 0) +++ community-staging-x86_64/802.patch 2018-07-08 17:12:46 UTC (rev 355119) @@ -0,0 +1,22 @@ +From 138600a5a7df32772db1a81fd2882886818c8076 Mon Sep 17 00:00:00 2001 +From: Jeff Whitaker +Date: Thu, 24 May 2018 16:45:17 -0600 +Subject: [PATCH] fix for failing test + +--- + test/tst_cdf5.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/tst_cdf5.py b/test/tst_cdf5.py +index 1b46c91a..175f9b53 100644 +--- a/test/tst_cdf5.py b/test/tst_cdf5.py +@@ -4,7 +4,7 @@ + from numpy.testing import assert_array_equal + + FILE_NAME = tempfile.NamedTemporaryFile(suffix='.nc', delete=False).name +-dimsize = np.iinfo(np.int64).max # max unsigned 64 bit integer ++dimsize = np.iinfo(np.int32).max*2 # only allowed in CDF5 + ndim = 100 + arrdata = np.random.randint(np.iinfo(np.uint8).min,np.iinfo(np.uint8).max,size=ndim) + Copied: python-netcdf4/repos/community-staging-x86_64/PKGBUILD (from rev 355118, python-netcdf4/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:12:46 UTC (rev 355119) @@ -0,0 +1,65 @@ +# Maintainer: Bruno Pagani +# Contributor: Spyros Stathopoulos +# Contributor: richli +# Contributor: rememberthemer + +_pkg=netCDF4 +pkgbase=python-${_pkg,,} +pkgname=("python-${_pkg,,}" "python2-${_pkg,,}") +pkgver=1.4.0 +pkgrel=3 +pkgdesc="Python/NumPy interface to the netCDF C library" +arch=('x86_64') +url="https://unidata.github.io/${_pkg,,}-python; +license=('MIT') +makedepends=('cython' 'python-setuptools' 'cython2' 'python2-setuptools' 'python-numpy' 'python-cftime' 'python2-numpy' 'python2-cftime' 'netcdf') +source=("https://pypi.io/packages/source/n/${_pkg}/${_pkg}-${pkgver}.tar.gz; +'802.patch') +sha256sums=('a6c0b46f410f101c09d60b8cc460aafec06732f0130c6cb2730717bcc605b388' +'17e3442e75d75fcba5fabe387f5dc5ef1cc2e7a4de25d96a2fcec699ce628289') + +prepare() { +cd ${_pkg}-${pkgver} +patch -p1 -i ../802.patch +cd .. +cp -a ${_pkg}-${pkgver}{,-py2} +} + +build() { +cd ${_pkg}-${pkgver} +USE_NCCONFIG=1 python setup.py build + +cd ../${_pkg}-${pkgver}-py2 +USE_NCCONFIG=1 python2 setup.py build +} + +check() { +cd ${_pkg}-${pkgver}/test +PYTHONPATH="../build/lib.linux-${CARCH}-3.7" python -B ./run_all.py + +cd ../../${_pkg}-${pkgver}-py2/test +PYTHONPATH="../build/lib.linux-${CARCH}-2.7" python2 -B ./run_all.py +} + +package_python-netcdf4() { +depends=('python-numpy' 'python-cftime' 'netcdf') + +cd ${_pkg}-${pkgver} +USE_NCCONFIG=1 python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=2 + +install -Dm644 docs/netCDF4/* -t "${pkgdir}"/usr/share/doc/${pkgname}/docs/netCDF4 +install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} +} + +package_python2-netcdf4() { +depends=('python2-numpy' 'python2-cftime' 'netcdf') + +cd ${_pkg}-${pkgver}-py2 +USE_NCCONFIG=1 python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=2 + +for binary in "${pkgdir}"/usr/bin/* ; +do mv ${binary}{,-py2} ; +done +install -Dm644 docs/netCDF4/* -t "${pkgdir}"/usr/share/doc/${pkgname}/docs/netCDF4 +install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} +}
[arch-commits] Commit in haskell-yesod/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:14:54 Author: felixonmars Revision: 355123 archrelease: copy trunk to community-staging-x86_64 Added: haskell-yesod/repos/community-staging-x86_64/ haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 355122, haskell-yesod/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 355122, haskell-yesod/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:14:54 UTC (rev 355123) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=yesod +pkgname=haskell-yesod +pkgver=1.6.0 +pkgrel=51 +pkgdesc="Creation of type-safe, RESTful web applications." +url="http://www.yesodweb.com/; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-html' 'haskell-blaze-markup' + 'haskell-data-default-class' 'haskell-fast-logger' 'haskell-monad-logger' + 'haskell-resourcet' 'haskell-shakespeare' 'haskell-streaming-commons' + 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-extra' 'haskell-wai-logger' + 'haskell-warp' 'haskell-yaml' 'haskell-yesod-core' 'haskell-yesod-form' + 'haskell-yesod-persistent') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +sha512sums=('36caa5ee5c27a2355aff9e5dc210100661670717e251bb42bac48c02cd6979c38ae7b5fda1dd2e264aefb7b5b3808f7ccc9e511fd38b6de7090e16c7a91e1b15') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/semigroups/d' $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-yesod/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:14:32 Author: felixonmars Revision: 355122 upgpkg: haskell-yesod 1.6.0-51 rebuild with yaml 0.8.31.1 Modified: haskell-yesod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:13:33 UTC (rev 355121) +++ PKGBUILD2018-07-08 17:14:32 UTC (rev 355122) @@ -5,7 +5,7 @@ _hkgname=yesod pkgname=haskell-yesod pkgver=1.6.0 -pkgrel=50 +pkgrel=51 pkgdesc="Creation of type-safe, RESTful web applications." url="http://www.yesodweb.com/; license=("MIT")
[arch-commits] Commit in haskell-mustache/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:13:11 Author: felixonmars Revision: 355120 upgpkg: haskell-mustache 2.3.0-43 rebuild with yaml 0.8.31.1 Modified: haskell-mustache/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:12:46 UTC (rev 355119) +++ PKGBUILD2018-07-08 17:13:11 UTC (rev 355120) @@ -4,7 +4,7 @@ _hkgname=mustache pkgname=haskell-mustache pkgver=2.3.0 -pkgrel=42 +pkgrel=43 pkgdesc="A mustache template parser library." url="https://github.com/JustusAdam/mustache; license=('custom:BSD3')
[arch-commits] Commit in haskell-mustache/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:13:33 Author: felixonmars Revision: 355121 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mustache/repos/community-staging-x86_64/ haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 355120, haskell-mustache/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 355120, haskell-mustache/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:13:33 UTC (rev 355121) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan + +_hkgname=mustache +pkgname=haskell-mustache +pkgver=2.3.0 +pkgrel=43 +pkgdesc="A mustache template parser library." +url="https://github.com/JustusAdam/mustache; +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 'haskell-yaml') +makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 'haskell-wreq' 'haskell-zlib' + 'haskell-tar' 'haskell-lens' 'haskell-temporary') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('bdefb406a44bb3648ca7129128767be04c780d967757385770111a0da8f91ff7165213038e8abc7799b28b66eb7d2f47383346837fad7e6327dad7aa714971f6') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in hindent/repos (3 files)
Date: Sunday, July 8, 2018 @ 17:23:08 Author: felixonmars Revision: 355130 archrelease: copy trunk to community-staging-x86_64 Added: hindent/repos/community-staging-x86_64/ hindent/repos/community-staging-x86_64/PKGBUILD (from rev 355129, hindent/trunk/PKGBUILD) hindent/repos/community-staging-x86_64/ghc-8.4.patch (from rev 355129, hindent/trunk/ghc-8.4.patch) ---+ PKGBUILD | 52 ghc-8.4.patch | 72 2 files changed, 124 insertions(+) Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 355129, hindent/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:23:08 UTC (rev 355130) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=hindent +pkgver=5.2.5 +pkgrel=55 +pkgdesc="Extensible Haskell pretty printer" +url="https://github.com/commercialhaskell/hindent; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-descriptive' 'haskell-exceptions' 'haskell-monad-loops' + 'haskell-path' 'haskell-path-io' 'haskell-src-exts' 'haskell-unix-compat' + 'haskell-utf8-string' 'haskell-yaml') +makedepends=('ghc' 'haskell-diff' 'haskell-hspec') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz; +ghc-8.4.patch) +sha512sums=('72a6b57ad5a2514ae7d3dd39d87b92757c8a5c85b60daad1e883ebb20385de3d4794b5f9550653b48cf682e5476b38d5dfaf348caec05df3d4396f3aa0f743ef' + '32d8f5f3df69ec204afc2ec6afee28c05670137285bb6ff3978d5ae729e0e67830d7cfe7c5775dd5ced0bbd93270d9f73f8c93282f3eaaded48d023e88ccdc72') + +prepare() { +cd $pkgname-$pkgver +patch -p1 -i ../ghc-8.4.patch +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver +runhaskell Setup test +} + +package() { +cd $pkgname-$pkgver + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md" +} Copied: hindent/repos/community-staging-x86_64/ghc-8.4.patch (from rev 355129, hindent/trunk/ghc-8.4.patch) === --- community-staging-x86_64/ghc-8.4.patch (rev 0) +++ community-staging-x86_64/ghc-8.4.patch 2018-07-08 17:23:08 UTC (rev 355130) @@ -0,0 +1,72 @@ +From f0ac1ebed87bde6d93dbe5eac42ff5b5fb23e7ee Mon Sep 17 00:00:00 2001 +From: Rob Looby +Date: Fri, 11 May 2018 13:12:07 -0500 +Subject: [PATCH] Make work with lts-11 and ghc-8.4.2 nightly build + +--- + .travis.yml | 6 +- + src/HIndent/CabalFile.hs | 28 + stack.yaml | 7 --- + 3 files changed, 33 insertions(+), 8 deletions(-) + +diff --git a/src/HIndent/CabalFile.hs b/src/HIndent/CabalFile.hs +index 083d965..d8c731e 100644 +--- a/src/HIndent/CabalFile.hs b/src/HIndent/CabalFile.hs +@@ -1,14 +1,21 @@ ++{-# LANGUAGE CPP #-} ++ + module HIndent.CabalFile + ( getCabalExtensionsForSourcePath + ) where + ++import qualified Data.ByteString as BS + import Data.List + import Data.Maybe + import Data.Traversable + import Distribution.ModuleName + import Distribution.PackageDescription + import Distribution.PackageDescription.Configuration ++#if MIN_VERSION_Cabal(2, 2, 0) ++import Distribution.PackageDescription.Parsec ++#else + import Distribution.PackageDescription.Parse ++#endif + import Language.Haskell.Extension + import qualified Language.Haskell.Exts.Extension as HSE + import System.Directory +@@ -82,6 +89,19 @@ findCabalFiles dir rel = do + [] -> findCabalFiles (takeDirectory dir) (takeFileName dir rel) + _ -> return $ Just (fmap (\n -> dir n) cabalnames, rel) + ++getGenericPackageDescription :: FilePath -> IO (Maybe GenericPackageDescription) ++#if MIN_VERSION_Cabal(2, 2, 0) ++getGenericPackageDescription cabalPath = do ++cabaltext <- BS.readFile cabalPath ++return $
[arch-commits] Commit in hledger-web/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:24:38 Author: felixonmars Revision: 355131 upgpkg: hledger-web 1.9.2-55 rebuild with yaml 0.8.31.1 Modified: hledger-web/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:23:08 UTC (rev 355130) +++ PKGBUILD2018-07-08 17:24:38 UTC (rev 355131) @@ -4,7 +4,7 @@ pkgname=hledger-web pkgver=1.9.2 -pkgrel=54 +pkgrel=55 pkgdesc="Web interface for the hledger accounting tool" url="http://hledger.org; license=("GPL")
[arch-commits] Commit in hledger-web/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:24:59 Author: felixonmars Revision: 355132 archrelease: copy trunk to community-staging-x86_64 Added: hledger-web/repos/community-staging-x86_64/ hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 355131, hledger-web/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 355131, hledger-web/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:24:59 UTC (rev 355132) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=hledger-web +pkgver=1.9.2 +pkgrel=55 +pkgdesc="Web interface for the hledger accounting tool" +url="http://hledger.org; +license=("GPL") +arch=('x86_64') +depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-base-compat' 'haskell-blaze-html' + 'haskell-blaze-markup' 'haskell-clientsession' 'haskell-cmdargs' 'haskell-data-default' + 'haskell-hjsmin' 'haskell-http-conduit' 'haskell-http-client' 'haskell-hunit' + 'haskell-conduit-extra' 'haskell-safe' 'haskell-shakespeare' 'haskell-wai' + 'haskell-wai-extra' 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' + 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-json' + 'haskell-megaparsec') +makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;) +sha512sums=('7a2ca40f96bc00a5419f1becb02ff86f2b58f7f34a03b85859034bcb7bf301458c5b6b5159e95bea65223fbdc0f65dbb0b09a9275adc4bfcbfc586f3a30ab837') + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-dev -f-library-only -fthreaded +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver +runhaskell Setup test +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in xcb-proto/repos (staging-any staging-any/PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:01:08 Author: foutrelis Revision: 328072 archrelease: copy trunk to staging-any Added: xcb-proto/repos/staging-any/ xcb-proto/repos/staging-any/PKGBUILD (from rev 328071, xcb-proto/trunk/PKGBUILD) --+ PKGBUILD | 34 ++ 1 file changed, 34 insertions(+) Copied: xcb-proto/repos/staging-any/PKGBUILD (from rev 328071, xcb-proto/trunk/PKGBUILD) === --- staging-any/PKGBUILD(rev 0) +++ staging-any/PKGBUILD2018-07-08 14:01:08 UTC (rev 328072) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Andreas Radke +# Contributor: Jan de Groot + +pkgname=xcb-proto +pkgver=1.13 +pkgrel=2 +pkgdesc="XML-XCB protocol descriptions" +arch=(any) +url="https://xcb.freedesktop.org/; +license=('custom') +makedepends=('python' 'libxml2') +source=($url/dist/$pkgname-$pkgver.tar.bz2{,.sig}) +sha512sums=('002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7' +'SKIP') +validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone " + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make -k check || /bin/true +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" + install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname" +}
[arch-commits] Commit in xcb-proto/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:01:03 Author: foutrelis Revision: 328071 Python 3.7 rebuild Modified: xcb-proto/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 13:58:56 UTC (rev 328070) +++ PKGBUILD2018-07-08 14:01:03 UTC (rev 328071) @@ -4,7 +4,7 @@ pkgname=xcb-proto pkgver=1.13 -pkgrel=1 +pkgrel=2 pkgdesc="XML-XCB protocol descriptions" arch=(any) url="https://xcb.freedesktop.org/;
[arch-commits] Commit in pandoc-crossref/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:09:43 Author: felixonmars Revision: 354973 upgpkg: pandoc-crossref 0.3.2.1-25 rebuild with network 2.7.0.2 Modified: pandoc-crossref/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:31:27 UTC (rev 354972) +++ PKGBUILD2018-07-08 15:09:43 UTC (rev 354973) @@ -4,7 +4,7 @@ pkgname=pandoc-crossref pkgver=0.3.2.1 -pkgrel=24 +pkgrel=25 pkgdesc="Pandoc filter for cross-references" url="https://hackage.haskell.org/package/${pkgname}; license=("GPL2")
[arch-commits] Commit in pandoc-crossref/repos (2 files)
Date: Sunday, July 8, 2018 @ 15:10:17 Author: felixonmars Revision: 354974 archrelease: copy trunk to community-staging-x86_64 Added: pandoc-crossref/repos/community-staging-x86_64/ pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 354973, pandoc-crossref/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 354973, pandoc-crossref/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 15:10:17 UTC (rev 354974) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=pandoc-crossref +pkgver=0.3.2.1 +pkgrel=25 +pkgdesc="Pandoc filter for cross-references" +url="https://hackage.haskell.org/package/${pkgname}; +license=("GPL2") +arch=('x86_64') +depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 'haskell-data-accessor-template' + 'haskell-data-accessor-transformers' 'haskell-file-embed' 'haskell-open-browser' + 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 'haskell-roman-numerals' + 'haskell-syb' 'haskell-utility-ht') +makedepends=('ghc' 'haskell-hspec') +conflicts=('haskell-pandoc-crossref') +replaces=('haskell-pandoc-crossref') +source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;) +sha512sums=('224218d3a559fc6a2b574c4f62a7e99f28c25abb20f7fc2eb6b318f388d0c3e65f690c03b687964d50bb4fc87a77d79a6bebb20c196cd93f884f12c43ce1c68e') + +build() { +cd $pkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +# https://github.com/lierdakil/pandoc-crossref/issues/181#issuecomment-398269601 +cd $pkgname-$pkgver +runhaskell Setup test || warning "Tests failed" +} + +package() { +cd $pkgname-$pkgver + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in sip/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:57:12 Author: arojas Revision: 328081 Use --no-tools for pyqt5 subpackages Modified: sip/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:35:31 UTC (rev 328080) +++ PKGBUILD2018-07-08 15:57:12 UTC (rev 328081) @@ -7,7 +7,7 @@ pkgbase=sip pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') pkgver=4.19.12 -pkgrel=2 +pkgrel=3 arch=('x86_64') url='http://www.riverbankcomputing.com/software/sip/intro' license=('custom:"sip"') @@ -29,11 +29,11 @@ make cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools make cd "$srcdir"/build-pyqt5-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools make } @@ -74,7 +74,7 @@ depends=('python') cd build-pyqt5 - make DESTDIR="$pkgdir" install -C siplib + make DESTDIR="$pkgdir" install install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } @@ -84,7 +84,7 @@ depends=('python2') cd build-pyqt5-py2 - make DESTDIR="$pkgdir" install -C siplib + make DESTDIR="$pkgdir" install install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in sip/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:57:31 Author: arojas Revision: 328082 archrelease: copy trunk to testing-x86_64 Added: sip/repos/testing-x86_64/PKGBUILD (from rev 328081, sip/trunk/PKGBUILD) Deleted: sip/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 182 ++--- 1 file changed, 91 insertions(+), 91 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 15:57:12 UTC (rev 328081) +++ PKGBUILD2018-07-08 15:57:31 UTC (rev 328082) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') -pkgver=4.19.12 -pkgrel=1 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') - -prepare() { - mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} -} - -build() { - cd "$srcdir"/build - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make - - cd "$srcdir"/build-pyqt5-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd build - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd build - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('sip' 'python2') - - cd build-py2 - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip-pyqt5() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python') - - cd build-pyqt5 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip-pyqt5() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python2') - - cd build-pyqt5-py2 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: sip/repos/testing-x86_64/PKGBUILD (from rev 328081, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 15:57:31 UTC (rev 328082) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgver=4.19.12 +pkgrel=3 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') + +prepare() { + mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-pyqt5 + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make + + cd "$srcdir"/build-pyqt5-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd build + make DESTDIR="$pkgdir" install -C sipgen + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-sip() { + pkgdesc="Python 3.x SIP bindings for C and C++
[arch-commits] Commit in python-lazy-object-proxy/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:16:06 Author: felixonmars Revision: 328100 upgpkg: python-lazy-object-proxy 1.3.1-2 Python 3.7 rebuild Modified: python-lazy-object-proxy/trunk/PKGBUILD --+ PKGBUILD |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:11:15 UTC (rev 328099) +++ PKGBUILD2018-07-08 17:16:06 UTC (rev 328100) @@ -4,14 +4,13 @@ pkgbase=python-lazy-object-proxy pkgname=(python-lazy-object-proxy python2-lazy-object-proxy) pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc='A fast and thorough lazy object proxy' arch=('x86_64') url="https://github.com/ionelmc/python-lazy-object-proxy; license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest-capturelog' 'python2-pytest-capturelog' - 'python-pytest-benchmark' 'python2-pytest-benchmark') +checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark') source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver.tar.gz;) sha256sums=('b315bc589ac934feb81c954424b501bf56afdbf7851918be4261c2ccdbb14ea7') @@ -29,7 +28,7 @@ check() { cd "$srcdir"/python-lazy-object-proxy-$pkgver - LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test --ignore=src + LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test --ignore=src cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2 PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src
[arch-commits] Commit in python-lazy-object-proxy/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:16:29 Author: felixonmars Revision: 328101 archrelease: copy trunk to community-staging-x86_64 Added: python-lazy-object-proxy/repos/community-staging-x86_64/ python-lazy-object-proxy/repos/community-staging-x86_64/PKGBUILD (from rev 328100, python-lazy-object-proxy/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: python-lazy-object-proxy/repos/community-staging-x86_64/PKGBUILD (from rev 328100, python-lazy-object-proxy/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:16:29 UTC (rev 328101) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-lazy-object-proxy +pkgname=(python-lazy-object-proxy python2-lazy-object-proxy) +pkgver=1.3.1 +pkgrel=2 +pkgdesc='A fast and thorough lazy object proxy' +arch=('x86_64') +url="https://github.com/ionelmc/python-lazy-object-proxy; +license=('BSD') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver.tar.gz;) +sha256sums=('b315bc589ac934feb81c954424b501bf56afdbf7851918be4261c2ccdbb14ea7') + +prepare() { + cp -a python-lazy-object-proxy-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/python-lazy-object-proxy-$pkgver + python setup.py build + + cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/python-lazy-object-proxy-$pkgver + LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test --ignore=src + + cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2 + PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src +} + +package_python-lazy-object-proxy() { + depends=("python") + + cd python-lazy-object-proxy-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-lazy-object-proxy() { + depends=("python2") + + cd python-lazy-object-proxy-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in hopenpgp-tools/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:38:58 Author: felixonmars Revision: 355139 upgpkg: hopenpgp-tools 0.21.1-36 rebuild with yaml 0.8.31.1 Modified: hopenpgp-tools/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:37:03 UTC (rev 355138) +++ PKGBUILD2018-07-08 17:38:58 UTC (rev 355139) @@ -4,7 +4,7 @@ pkgname=hopenpgp-tools pkgver=0.21.1 -pkgrel=35 +pkgrel=36 pkgdesc="hOpenPGP-based command-line tools" url="http://floss.scru.org/hopenpgp-tools; license=("AGPL3")
[arch-commits] Commit in hopenpgp-tools/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:39:19 Author: felixonmars Revision: 355140 archrelease: copy trunk to community-staging-x86_64 Added: hopenpgp-tools/repos/community-staging-x86_64/ hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 355139, hopenpgp-tools/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 355139, hopenpgp-tools/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:39:19 UTC (rev 355140) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=hopenpgp-tools +pkgver=0.21.1 +pkgrel=36 +pkgdesc="hOpenPGP-based command-line tools" +url="http://floss.scru.org/hopenpgp-tools; +license=("AGPL3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base16-bytestring' + 'haskell-binary-conduit' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-crypto-pubkey' + 'haskell-cryptohash' 'haskell-errors' 'haskell-fgl' 'haskell-graphviz' 'haskell-hopenpgp' + 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ixset-typed' + 'haskell-lens' 'haskell-monad-loops' 'haskell-openpgp-asciiarmor' + 'haskell-optparse-applicative' 'haskell-prettyprinter' + 'haskell-prettyprinter-ansi-terminal' 'haskell-prettyprinter-convert-ansi-wl-pprint' + 'haskell-resourcet' 'haskell-time-locale-compat' 'haskell-yaml') +makedepends=('alex' 'happy' 'ghc') +source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('0f079cdc3d99c5e2679810c38d57e40a045bf91c26fd734c50a7715f803efa9367d2ee389dd8362c1c1d00f75227370b481e9b1fb74ad41c8fb0fc51c5c71e38') + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" +runhaskell Setup build +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" +runhaskell Setup copy --destdir="${pkgdir}" + +rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE" +rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" "$pkgdir/usr/share" +}
[arch-commits] Commit in pandoc-citeproc/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:50:55 Author: felixonmars Revision: 355143 upgpkg: pandoc-citeproc 0.14.3.1-73 rebuild with yaml 0.8.31.1 Modified: pandoc-citeproc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:48:00 UTC (rev 355142) +++ PKGBUILD2018-07-08 17:50:55 UTC (rev 355143) @@ -4,7 +4,7 @@ pkgname=pandoc-citeproc pkgver=0.14.3.1 -pkgrel=72 +pkgrel=73 pkgdesc="Supports using pandoc with citeproc" url="https://hackage.haskell.org/package/$pkgname; license=("custom:BSD3")
[arch-commits] Commit in pandoc-citeproc/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:51:15 Author: felixonmars Revision: 355144 archrelease: copy trunk to community-staging-x86_64 Added: pandoc-citeproc/repos/community-staging-x86_64/ pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 355143, pandoc-citeproc/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 355143, pandoc-citeproc/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:51:15 UTC (rev 355144) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=pandoc-citeproc +pkgver=0.14.3.1 +pkgrel=73 +pkgdesc="Supports using pandoc with citeproc" +url="https://hackage.haskell.org/package/$pkgname; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec' 'haskell-base-compat' + 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-old-locale' 'pandoc' + 'haskell-pandoc-types' 'haskell-rfc5051' 'haskell-setenv' 'haskell-split' + 'haskell-syb' 'haskell-tagsoup' 'haskell-temporary' 'haskell-text-icu' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-xml-conduit' 'haskell-yaml') +conflicts=('haskell-pandoc-citeproc') +replaces=('haskell-pandoc-citeproc') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;) +sha512sums=('ab3d395c77192f72fa5cf9606f3cc5fc37c00a5719a58203d4b7c6edbc032524dd8457abe292d5d7dbe5ab2eaccd545269355931451ca0835d0ac1aa3cc48414') + +prepare() { +cd "${srcdir}/$pkgname-${pkgver}" +# TODO: find a better solution +sed -i "s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|" tests/test-pandoc-citeproc.hs +} + +build() { +cd "${srcdir}/$pkgname-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir="$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files -fbibutils -f-static +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver +runhaskell Setup test +} + +package() { +cd "${srcdir}/$pkgname-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/$pkgname.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/$pkgname.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE" +}
[arch-commits] Commit in haskell-hakyll/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:53:20 Author: felixonmars Revision: 355145 upgpkg: haskell-hakyll 4.12.3.0-49 rebuild with yaml 0.8.31.1 Modified: haskell-hakyll/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:51:15 UTC (rev 355144) +++ PKGBUILD2018-07-08 17:53:20 UTC (rev 355145) @@ -5,7 +5,7 @@ _hkgname=hakyll pkgname=haskell-hakyll pkgver=4.12.3.0 -pkgrel=48 +pkgrel=49 pkgdesc="A static website compiler library" url="http://jaspervdj.be/hakyll; license=("custom:BSD3")
[arch-commits] Commit in bind/repos (10 files)
Date: Sunday, July 8, 2018 @ 13:58:56 Author: foutrelis Revision: 328070 archrelease: copy trunk to staging-x86_64 Added: bind/repos/staging-x86_64/ bind/repos/staging-x86_64/127.0.0.zone (from rev 328069, bind/trunk/127.0.0.zone) bind/repos/staging-x86_64/PKGBUILD (from rev 328069, bind/trunk/PKGBUILD) bind/repos/staging-x86_64/empty.zone (from rev 328069, bind/trunk/empty.zone) bind/repos/staging-x86_64/localhost.ip6.zone (from rev 328069, bind/trunk/localhost.ip6.zone) bind/repos/staging-x86_64/localhost.zone (from rev 328069, bind/trunk/localhost.zone) bind/repos/staging-x86_64/named.conf (from rev 328069, bind/trunk/named.conf) bind/repos/staging-x86_64/named.service (from rev 328069, bind/trunk/named.service) bind/repos/staging-x86_64/sysusers.conf (from rev 328069, bind/trunk/sysusers.conf) bind/repos/staging-x86_64/tmpfiles.conf (from rev 328069, bind/trunk/tmpfiles.conf) + 127.0.0.zone | 10 +++ PKGBUILD | 134 +++ empty.zone |8 +++ localhost.ip6.zone | 10 +++ localhost.zone | 11 named.conf | 72 +++ named.service | 10 +++ sysusers.conf |1 tmpfiles.conf |1 9 files changed, 257 insertions(+) Copied: bind/repos/staging-x86_64/127.0.0.zone (from rev 328069, bind/trunk/127.0.0.zone) === --- staging-x86_64/127.0.0.zone (rev 0) +++ staging-x86_64/127.0.0.zone 2018-07-08 13:58:56 UTC (rev 328070) @@ -0,0 +1,10 @@ +@ 1D IN SOA localhost. root.localhost. ( +42; serial (mmdd##) +3H; refresh +15M ; retry +1W; expiry +1D ) ; minimum ttl + +1D IN NS localhost. + +1.0.0.127.in-addr.arpa. 1D IN PTR localhost. Copied: bind/repos/staging-x86_64/PKGBUILD (from rev 328069, bind/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-07-08 13:58:56 UTC (rev 328070) @@ -0,0 +1,134 @@ +# $Id: PKGBUILD 113060 2014-06-12 10:51:06Z seblu $ +# Maintainer: SĂ©bastien Luttringer +# Contributor: Gaetan Bisson +# Contributor: judd +# Contributor: Mario Vazquez + +pkgbase=bind +pkgname=(bind bind-tools) +_pkgver=9.13.0 +pkgver=${_pkgver//-/.} +pkgrel=3 +url='https://www.isc.org/software/bind/' +license=('MPL2') +arch=('x86_64') +options=('!emptydirs') +makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline' + 'idnkit' 'geoip' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'libseccomp') +validpgpkeys=('2B48A38AE1CF9886435F89EE45AC7857189CDBC5' + 'ADBE9446286C794905F1E0756FA6EBC9911A4C02' #ISC, Inc) + 'BE0E9748B718253A28BB89FFF1B11BF05CF02E57' #Internet Systems Consortium, Inc. + ) +source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc} +'tmpfiles.conf' +'sysusers.conf' +'named.conf' +'named.service' +'localhost.zone' +'localhost.ip6.zone' +'127.0.0.zone' +'empty.zone') +sha1sums=('d17bb3d8ae8699ca8584c12e65cdd8540dc989ca' + 'SKIP' + 'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11' + '9537f4835a1f736788d0733c7996a10db2d4eee4' + 'c017aae379c32c7cb1aa1ad84776b83e3a5c139f' + '62b06487323dd0d515a4dc659b8ecd193c29107b' + '6704303a6ed431a29b1d8fe7b12decd4d1f2f50f' + '52da8f1c0247a11b16daa4e03d920e8f09315cbe' + '9c33726088342207ad06d33b2c13408290a0c8ad' + '4f4457b310cbbeadca2272eced062a9c2b2b42fe') + +prepare() { + msg2 'Getting a fresh version of root DNS' + # no more using source array, lack of versioning. + curl -o root.hint https://www.internic.net/zones/named.root + [[ -s root.hint ]] + cd bind-$_pkgver + # apply patch from the source array (should be a pacman feature) + local filename + for filename in "${source[@]}"; do +if [[ "$filename" =~ \.patch$ ]]; then + msg2 "Applying patch ${filename##*/}" + patch -p1 -N -i "$srcdir/${filename##*/}" +fi + done +} + +build() { + cd bind-$_pkgver + export CFLAGS+=' -DDIG_SIGCHASE' + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--sbindir=/usr/bin \ +--localstatedir=/var \ +--disable-static \ +--enable-ipv6 \ +--enable-filter- \ +--enable-fixed-rrset \ +--enable-seccomp \ +--enable-full-report \ +--with-python=/usr/bin/python \ +--with-geoip \ +--with-idn \ +--with-openssl \ +--with-libjson \ +--with-libxml2 \ +
[arch-commits] Commit in ropper/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:15:09 Author: foutrelis Revision: 354950 archrelease: copy trunk to community-staging-any Added: ropper/repos/community-staging-any/ ropper/repos/community-staging-any/PKGBUILD (from rev 354949, ropper/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: ropper/repos/community-staging-any/PKGBUILD (from rev 354949, ropper/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:15:09 UTC (rev 354950) @@ -0,0 +1,67 @@ +# Maintainer: Levente Polyak + +pkgbase=ropper +pkgname=('ropper' 'python-ropper' 'python2-ropper') +_pkgname=Ropper +pkgver=1.11.6 +pkgrel=2 +pkgdesc='Show information about binary files and find gadgets to build rop chains for different architectures' +url='https://github.com/sashs/Ropper' +arch=('any') +license=('GPL2') +makedepends=('python-setuptools' 'python-capstone' 'python-filebytes' + 'python2-setuptools' 'python2-capstone' 'python2-filebytes') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sashs/${_pkgname}/archive/v${pkgver}.tar.gz) +sha512sums=('3609aaa60650c48602a48a2f83702b41227fa749cbfcfd76a2dd880900a69b9fc75208fa875eb262766c66c67727046a0687670cfbd203f77c806facd5fa59e8') + +prepare() { + cp -ra ${_pkgname}-${pkgver}{,-py2} + sed -r 's|(env python)|\12|' -i ${_pkgname}-${pkgver}-py2/sample.py +} + +build() { + (cd ${_pkgname}-${pkgver} +python setup.py build + ) + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py build + ) +} + +check() { + (cd ${_pkgname}-${pkgver} +python test.py + ) + (cd ${_pkgname}-${pkgver}-py2 +python2 test.py + ) +} + +package_ropper() { + depends=('python' "python-ropper>=${pkgver}") + optdepends=('python-keystone: assemble command support') + cd ${_pkgname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + rm -r "${pkgdir}/usr/lib" "${pkgdir}/usr/bin/ropper2" +} + +package_python-ropper() { + depends=('python-capstone' 'python-filebytes') + optdepends=('python-keystone: assemble command support') + cd ${_pkgname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}" + rm -r "${pkgdir}/usr/bin" +} + +package_python2-ropper() { + depends=('python2-capstone' 'python2-filebytes') + optdepends=('python2-keystone: assemble command support') + cd ${_pkgname}-${pkgver}-py2 + python2 setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}" + rm -r "${pkgdir}/usr/bin" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in ropper/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:15:04 Author: foutrelis Revision: 354949 Python 3.7 rebuild Modified: ropper/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:14:53 UTC (rev 354948) +++ PKGBUILD2018-07-08 14:15:04 UTC (rev 354949) @@ -4,7 +4,7 @@ pkgname=('ropper' 'python-ropper' 'python2-ropper') _pkgname=Ropper pkgver=1.11.6 -pkgrel=1 +pkgrel=2 pkgdesc='Show information about binary files and find gadgets to build rop chains for different architectures' url='https://github.com/sashs/Ropper' arch=('any')
[arch-commits] Commit in evemu/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:14:53 Author: foutrelis Revision: 354948 archrelease: copy trunk to community-staging-x86_64 Added: evemu/repos/community-staging-x86_64/ evemu/repos/community-staging-x86_64/PKGBUILD (from rev 354947, evemu/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: evemu/repos/community-staging-x86_64/PKGBUILD (from rev 354947, evemu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:14:53 UTC (rev 354948) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Anatol Pomozov +# Contributor: Nicolas Quiénot < niQo at aur > +# Contributor: Damián Nohales + +pkgname=evemu +pkgver=2.7.0 +pkgrel=3 +pkgdesc='Tools and bindings for kernel input event device emulation and data capture and replay' +arch=(x86_64) +url='https://www.freedesktop.org/wiki/Evemu' +license=(GPL3) +depends=(libevdev) +makedepends=(asciidoc python python2 xmlto) +optdepends=('python: Python 3 bindings' +'python2: Python 2 bindings') +source=(https://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +validpgpkeys=(0A75E35E0FAEE97EC769103E2F2670AC164DB36F) # Benjamin Tissoires +sha1sums=('16c6e1484253e1610a019dcca22b1698002824ca' + 'SKIP') + +build() { + cp -r $pkgname-$pkgver python2 + + cd $pkgname-$pkgver + PYTHON=python3 ./configure --prefix=/usr + make + + cd ../python2 + PYTHON=python2 ./configure --prefix=/usr --disable-tests +} + +check() { + cd $pkgname-$pkgver + # Tests have to be run as 'root' + # make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + cd ../python2 + make -C python DESTDIR="$pkgdir" install +}
[arch-commits] Commit in evemu/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:14:48 Author: foutrelis Revision: 354947 Python 3.7 rebuild Modified: evemu/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:14:21 UTC (rev 354946) +++ PKGBUILD2018-07-08 14:14:48 UTC (rev 354947) @@ -5,7 +5,7 @@ pkgname=evemu pkgver=2.7.0 -pkgrel=2 +pkgrel=3 pkgdesc='Tools and bindings for kernel input event device emulation and data capture and replay' arch=(x86_64) url='https://www.freedesktop.org/wiki/Evemu'
[arch-commits] Commit in python-pudb/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:15:54 Author: foutrelis Revision: 354952 archrelease: copy trunk to community-staging-any Added: python-pudb/repos/community-staging-any/ python-pudb/repos/community-staging-any/PKGBUILD (from rev 354951, python-pudb/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: python-pudb/repos/community-staging-any/PKGBUILD (from rev 354951, python-pudb/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:15:54 UTC (rev 354952) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Kwpolska + +pkgbase=python-pudb +pkgname=(python-pudb python2-pudb) +pkgver=2018.1 +pkgrel=2 +pkgdesc="A full-screen, console-based Python debugger" +url="http://pypi.python.org/pypi/pudb; +arch=('any') +license=('MIT') +makedepends=('python-urwid' 'python-pygments' 'python2-urwid' 'python2-pygments') +checkdepends=('python-pytest' 'python2-pytest') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/inducer/pudb/archive/v$pkgver.tar.gz;) +sha512sums=('8aa3e1d7256c124609170cd64f673d745bcd7038d247fa711bd2310c0519feaa9c6838bb5444a1d4a0148f2b8e6804cfa36a565a4a5dbdee1dacc1101c07c9a6') + +prepare() { + cp -a pudb-$pkgver{,-py2} + + sed -i 's,^#! /usr/bin/env python$,#! /usr/bin/env python2,' pudb-$pkgver-py2/pudb/debugger.py +} + +build() { + cd "$srcdir"/pudb-$pkgver + python setup.py build + + cd "$srcdir"/pudb-$pkgver-py2 + python2 setup.py build +} + +check() { + # TODO: make it work... + + cd "$srcdir"/pudb-$pkgver + # python -m pytest --tb=native -rxs test/ + + cd "$srcdir"/pudb-$pkgver-py2 + # python2 -m pytest --tb=native -rxs test/ +} + +package_python-pudb() { + depends=('python-urwid' 'python-pygments') + + cd pudb-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pudb() { + depends=('python2-urwid' 'python2-pygments') + + cd pudb-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim: set ft=sh ts=2 sw=2 et:
[arch-commits] Commit in python-pudb/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:15:48 Author: foutrelis Revision: 354951 Python 3.7 rebuild Modified: python-pudb/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:15:09 UTC (rev 354950) +++ PKGBUILD2018-07-08 14:15:48 UTC (rev 354951) @@ -5,7 +5,7 @@ pkgbase=python-pudb pkgname=(python-pudb python2-pudb) pkgver=2018.1 -pkgrel=1 +pkgrel=2 pkgdesc="A full-screen, console-based Python debugger" url="http://pypi.python.org/pypi/pudb; arch=('any')
[arch-commits] Commit in jenkins/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:19:30 Author: felixonmars Revision: 354979 upgpkg: jenkins 2.131-1 Modified: jenkins/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:16:04 UTC (rev 354978) +++ PKGBUILD2018-07-08 15:19:30 UTC (rev 354979) @@ -5,7 +5,7 @@ # Contributor: Illarion Kovalchuk pkgname=jenkins -pkgver=2.130 +pkgver=2.131 pkgrel=1 pkgdesc='Extendable continuous integration server (latest)' arch=('any') @@ -25,7 +25,7 @@ 'jenkins.tmpfiles' 'jenkins.sysusers' 'LICENSE') -sha512sums=('701c8f69a8761b891247bfc9e115ac3e6f208599182c3902f016373f88c90871ebe4c17f86b9baa8069b1b5cabfdfcdfa04aecda62f7dbee3277ac8adb0b9c78' +sha512sums=('3a2812e7f1ae1ec15fbf574264ab19a01c1ba1475db61962da927a68b8f961ea28f43179f026a4e0572c7ef18c981e67a8b7479a4f4968c30cba8022a10a8f3e' '3a8421cef3953d899c150609f959cf5d5dd6d08d079a5e0f48bfece4f3c80491722b9e90ef841fddb87401c226b8338297c5c4e83e55a33ef8d6e387de3048d0' 'a336b006d3711abb75b49a2e12c09ee61cf3275a2cdbbd3676480e2f6ca8ba0fb4b9c08f3f9da193252c4fca827e9a1d5eaad847d0a889445693427ae1571fe7' 'a845a7147be54affc586dfce9a188ec24c92e673e88dec0b62da386d2e597de6ecda103429008562abd897f179a52c37cf2188ebc65b8c636efd07d707e18f90'
[arch-commits] Commit in jenkins/repos/community-any (14 files)
Date: Sunday, July 8, 2018 @ 15:20:15 Author: felixonmars Revision: 354980 archrelease: copy trunk to community-any Added: jenkins/repos/community-any/LICENSE (from rev 354979, jenkins/trunk/LICENSE) jenkins/repos/community-any/PKGBUILD (from rev 354979, jenkins/trunk/PKGBUILD) jenkins/repos/community-any/jenkins.conf (from rev 354979, jenkins/trunk/jenkins.conf) jenkins/repos/community-any/jenkins.install (from rev 354979, jenkins/trunk/jenkins.install) jenkins/repos/community-any/jenkins.service (from rev 354979, jenkins/trunk/jenkins.service) jenkins/repos/community-any/jenkins.sysusers (from rev 354979, jenkins/trunk/jenkins.sysusers) jenkins/repos/community-any/jenkins.tmpfiles (from rev 354979, jenkins/trunk/jenkins.tmpfiles) Deleted: jenkins/repos/community-any/LICENSE jenkins/repos/community-any/PKGBUILD jenkins/repos/community-any/jenkins.conf jenkins/repos/community-any/jenkins.install jenkins/repos/community-any/jenkins.service jenkins/repos/community-any/jenkins.sysusers jenkins/repos/community-any/jenkins.tmpfiles --+ LICENSE | 46 +-- PKGBUILD | 90 ++--- jenkins.conf | 26 +++ jenkins.install | 14 jenkins.service | 48 ++-- jenkins.sysusers |4 +- jenkins.tmpfiles |2 - 7 files changed, 115 insertions(+), 115 deletions(-) Deleted: LICENSE === --- LICENSE 2018-07-08 15:19:30 UTC (rev 354979) +++ LICENSE 2018-07-08 15:20:15 UTC (rev 354980) @@ -1,23 +0,0 @@ -The MIT License - -Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - Copied: jenkins/repos/community-any/LICENSE (from rev 354979, jenkins/trunk/LICENSE) === --- LICENSE (rev 0) +++ LICENSE 2018-07-08 15:20:15 UTC (rev 354980) @@ -0,0 +1,23 @@ +The MIT License + +Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + Deleted: PKGBUILD === --- PKGBUILD2018-07-08 15:19:30 UTC (rev 354979) +++ PKGBUILD2018-07-08 15:20:15 UTC (rev 354980) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Alexander Rødseth -# Contributor: Marcel Huber -# Contributor: Illarion Kovalchuk - -pkgname=jenkins -pkgver=2.130 -pkgrel=1 -pkgdesc='Extendable continuous integration server (latest)' -arch=('any') -url='https://jenkins.io' -license=('MIT') -depends=('java-runtime=8' 'ttf-dejavu' 'libcups') -provides=('jenkins-ci') -conflicts=('jenkins-ci') -replaces=('jenkins-ci') -backup=('etc/conf.d/jenkins')
[arch-commits] Commit in compiler-rt/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:28:03 Author: foutrelis Revision: 328087 archrelease: copy trunk to testing-x86_64 Added: compiler-rt/repos/testing-x86_64/ compiler-rt/repos/testing-x86_64/PKGBUILD (from rev 328086, compiler-rt/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: compiler-rt/repos/testing-x86_64/PKGBUILD (from rev 328086, compiler-rt/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-07-08 16:28:03 UTC (rev 328087) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Evangelos Foutras +# Contributor: Jan "heftig" Steffens + +pkgname=compiler-rt +pkgver=6.0.1 +pkgrel=1 +pkgdesc="Compiler runtime libraries for clang" +arch=('x86_64') +url="https://compiler-rt.llvm.org/; +license=('custom:University of Illinois/NCSA Open Source License') +depends=('gcc-libs') +makedepends=('llvm' 'cmake' 'ninja' 'python') +# Build 32-bit compiler-rt libraries on x86_64 (FS#41911) +makedepends_x86_64=('lib32-gcc-libs') +options=('staticlibs') +source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('f4cd1e15e7d5cb708f9931d4844524e4904867240c306b06a4287b22ac1c99b9' +'SKIP') +validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard + +prepare() { + cd "$srcdir/$pkgname-$pkgver.src" + mkdir build +} + +build() { + cd "$srcdir/$pkgname-$pkgver.src/build" + + cmake .. -G Ninja \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr + ninja +} + +package() { + cd "$srcdir/$pkgname-$pkgver.src/build" + + DESTDIR="$pkgdir" ninja install + install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + mkdir -p "$pkgdir/usr/lib/clang/$pkgver/lib" + mv "$pkgdir"/usr/lib/{linux,clang/$pkgver/lib/} + mv "$pkgdir"/usr/{*.txt,lib/clang/$pkgver/} +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:27:59 Author: foutrelis Revision: 328086 upgpkg: compiler-rt 6.0.1-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 16:25:46 UTC (rev 328085) +++ PKGBUILD2018-07-08 16:27:59 UTC (rev 328086) @@ -3,7 +3,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=6.0.0 +pkgver=6.0.1 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -15,10 +15,10 @@ makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('d0cc1342cf57e9a8d52f5498da47a3b28d24ac0d39cbc92308781b3ee0cea79a' +sha256sums=('f4cd1e15e7d5cb708f9931d4844524e4904867240c306b06a4287b22ac1c99b9' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg -validpgpkeys+=('11E521D646982372EB577A1F8F0871F202119294') # Tom Stellard +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard prepare() { cd "$srcdir/$pkgname-$pkgver.src"
[arch-commits] Commit in python-xapian/trunk (2 files)
Date: Sunday, July 8, 2018 @ 16:42:48 Author: felixonmars Revision: 355101 upgpkg: python-xapian 1:1.4.6-1 Modified: python-xapian/trunk/PKGBUILD Deleted: python-xapian/trunk/0001-Support-sphinx-1.7-while-still-working-with-1.7.patch + 0001-Support-sphinx-1.7-while-still-working-with-1.7.patch | 63 --- PKGBUILD | 13 -- 2 files changed, 4 insertions(+), 72 deletions(-) Deleted: 0001-Support-sphinx-1.7-while-still-working-with-1.7.patch === --- 0001-Support-sphinx-1.7-while-still-working-with-1.7.patch 2018-07-08 15:46:14 UTC (rev 355100) +++ 0001-Support-sphinx-1.7-while-still-working-with-1.7.patch 2018-07-08 16:42:48 UTC (rev 355101) @@ -1,63 +0,0 @@ -From 13e3ccb4e5cdcc27e5395fc1d2d91045099ddcb1 Mon Sep 17 00:00:00 2001 -From: James Aylett -Date: Mon, 19 Feb 2018 21:40:36 + -Subject: [PATCH] Support sphinx >= 1.7 while still working with < 1.7 - -Sphinx 1.7.0 changed the behaviour of the internal sphinx "main" -functions: https://github.com/sphinx-doc/sphinx/pull/3668 - -In order to support both, we now need to manually strip argv[0] -before calling sphinx.main(), and also provide a dummy first -argument for pre-1.7 sphinx to skip automatically. We do this -by effectively duplicating our first "real" argument (-b html) -as -bhtml. - xapian-bindings/python/Makefile.am | 12 ++-- - xapian-bindings/python3/Makefile.am | 12 ++-- - 2 files changed, 20 insertions(+), 4 deletions(-) - -diff --git a/xapian-bindings/python/Makefile.am b/xapian-bindings/python/Makefile.am -index 403360155..291f95896 100644 a/xapian-bindings/python/Makefile.am -+++ b/xapian-bindings/python/Makefile.am -@@ -165,6 +165,14 @@ all-local: $(sphinxdocs) - $(sphinxdocs): xapian/__init__.py xapian/_xapian$(PYTHON2_SO) docs/conf.py $(RST_DOCS) $(dist_exampledata_DATA) - ## We need to run Sphinx for the right version of Python here, so we can't - ## just run sphinx-build as that might be for a different version. -+## -+## sphinx >= 1.7.0 no longer skips the first argument passed to -+## sphinx.main(). Therefore we have to skip it ourselves (by -+## taking a slice of sys.argv), and then have a skippable first -+## argument for sphinx < 1.7.0. -bhtml duplicates the subsequent -+## -b html, and so apparently is safe. -+## -+## Change was merged here: https://github.com/sphinx-doc/sphinx/pull/3668 - PYTHONPATH=..:$$PYTHONPATH $(OSX_SIP_HACK_ENV) $(PYTHON2) \ -- -c 'import sphinx,sys;sys.exit(sphinx.main(sys.argv))' \ -- -b html -d doctrees -c docs $(srcdir)/docs docs/html -+ -c 'import sphinx,sys;sys.exit(sphinx.main(sys.argv[1:]))' \ -+ -bhtml -b html -d doctrees -c docs $(srcdir)/docs docs/html -diff --git a/xapian-bindings/python3/Makefile.am b/xapian-bindings/python3/Makefile.am -index ccf147cf1..53f5cb922 100644 a/xapian-bindings/python3/Makefile.am -+++ b/xapian-bindings/python3/Makefile.am -@@ -170,6 +170,14 @@ all-local: $(sphinxdocs) - $(sphinxdocs): xapian/__init__.py xapian/_xapian$(PYTHON3_SO) docs/conf.py $(RST_DOCS) $(dist_exampledata_DATA) - ## We need to run Sphinx for the right version of Python here, so we can't - ## just run sphinx-build as that might be for a different version. -+## -+## sphinx >= 1.7.0 no longer skips the first argument passed to -+## sphinx.main(). Therefore we have to skip it ourselves (by -+## taking a slice of sys.argv), and then have a skippable first -+## argument for sphinx < 1.7.0. -bhtml duplicates the subsequent -+## -b html, and so apparently is safe. -+## -+## Change was merged here: https://github.com/sphinx-doc/sphinx/pull/3668 - PYTHONPATH=..:$$PYTHONPATH $(OSX_SIP_HACK_ENV) $(PYTHON3) \ -- -c 'import sphinx,sys;sys.exit(sphinx.main(sys.argv))' \ -- -b html -d doctrees -c docs $(srcdir)/docs docs/html -+ -c 'import sphinx,sys;sys.exit(sphinx.main(sys.argv[1:]))' \ -+ -bhtml -b html -d doctrees -c docs $(srcdir)/docs docs/html --- -2.16.2 - Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:46:14 UTC (rev 355100) +++ PKGBUILD2018-07-08 16:42:48 UTC (rev 355101) @@ -7,24 +7,19 @@ pkgbase=python-xapian pkgname=('python-xapian' 'python2-xapian') _realname=xapian-bindings -pkgver=1.4.5 +pkgver=1.4.6 epoch=1 -pkgrel=5 +pkgrel=1 pkgdesc="Python bindings for Xapian" arch=('x86_64') url="https://xapian.org/docs/bindings/python/; license=('GPL2') makedepends=('python-sphinx' 'python2-sphinx' "xapian-core=$epoch:$pkgver") -source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz; -'0001-Support-sphinx-1.7-while-still-working-with-1.7.patch')
[arch-commits] Commit in python-xapian/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:43:11 Author: felixonmars Revision: 355102 archrelease: copy trunk to testing-x86_64 Added: python-xapian/repos/testing-x86_64/ python-xapian/repos/testing-x86_64/PKGBUILD (from rev 355101, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-xapian/repos/testing-x86_64/PKGBUILD (from rev 355101, python-xapian/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-07-08 16:43:11 UTC (rev 355102) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: David Runge +# Contributor: DonVla +# Contributor: Hervé Cauwelier + +pkgbase=python-xapian +pkgname=('python-xapian' 'python2-xapian') +_realname=xapian-bindings +pkgver=1.4.6 +epoch=1 +pkgrel=1 +pkgdesc="Python bindings for Xapian" +arch=('x86_64') +url="https://xapian.org/docs/bindings/python/; +license=('GPL2') +makedepends=('python-sphinx' 'python2-sphinx' "xapian-core=$epoch:$pkgver") +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz;) +sha512sums=('e1d8d4c79ef8eb1b890be955b14eca7e9c7aafc6051cf9080d67948455f82ed68ab518343f532cde2a1c9e07d94b3aae8b8f5130db158c6badc9b6d118ceb733') + +prepare() { + cd "${_realname}-${pkgver}" + autoreconf -vfi + cd .. + mv -v "${_realname}-$pkgver" "${pkgname[0]}-${pkgver}" + cp -av "${pkgname[0]}-$pkgver" "${pkgname[1]}-${pkgver}" + cd "${pkgname[1]}-${pkgver}" + # fix shebang of examples + sed -i '1s/python/python2/' python/docs/examples/*.py + export XAPIAN_CONFIG=/usr/bin/xapian-config +} + +build() { + cd "${pkgname[0]}-${pkgver}" + ./configure --prefix=/usr \ + --with-python3 + make + cd ../"${pkgname[1]}-${pkgver}" + PYTHON2=/usr/bin/python2 + ./configure --prefix=/usr \ + --with-python + make +} + +package_python-xapian() { + pkgdesc="Python 3.x bindings for Xapian" + depends=('python' "xapian-core=$epoch:$pkgver") + cd "${pkgname[0]}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \ +-vDm644 {AUTHORS,ChangeLog,HACKING,NEWS,README,TODO} +} + +package_python2-xapian() { + pkgdesc="Python 2.x bindings for Xapian" + depends=('python2' "xapian-core=$epoch:$pkgver") + cd "${pkgname[1]}-${pkgver}" + make DESTDIR="$pkgdir" install + install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \ +-vDm644 {AUTHORS,ChangeLog,HACKING,NEWS,README,TODO} +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in clang/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:59:50 Author: foutrelis Revision: 328096 upgpkg: clang 6.0.1-1 New upstream release. Modified: clang/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 16:51:40 UTC (rev 328095) +++ PKGBUILD2018-07-08 16:59:50 UTC (rev 328096) @@ -3,7 +3,7 @@ # Contributor: Jan "heftig" Steffens pkgname=clang -pkgver=6.0.0 +pkgver=6.0.1 pkgrel=1 pkgdesc="C language family frontend for LLVM" arch=('x86_64') @@ -21,15 +21,15 @@ https://releases.llvm.org/$pkgver/clang-tools-extra-$pkgver.src.tar.xz{,.sig} https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz{,.sig} enable-SSP-and-PIE-by-default.patch) -sha256sums=('e07d6dd8d9ef196cfc8e8bb131cbd6a2ed0b1caf1715f9d05b0f0eeaddb6df32' +sha256sums=('7c243f1485bddfdfedada3cd402ff4792ea82362ff91fbdac2dae67c6026b667' 'SKIP' -'053b424a4cd34c9335d8918734dd802a8da612d13a26bbb88fcdf524b2d989d2' +'0d2e3727786437574835b75135f9e36f861932a958d8547ced7e13ebdda115f1' 'SKIP' -'1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408' +'b6d6c324f9c71494c0ccaf3dac1f16236d970002b42bb24a6c9e1634f7d0f4e2' 'SKIP' '28d38b7f4bcaa0c974f8c48d732a0db309ea89ffa901c39de90725ae857946c1') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg -validpgpkeys+=('11E521D646982372EB577A1F8F0871F202119294') # Tom Stellard +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard prepare() { cd "$srcdir/cfe-$pkgver.src"
[arch-commits] Commit in clang/repos (3 files)
Date: Sunday, July 8, 2018 @ 16:59:54 Author: foutrelis Revision: 328097 archrelease: copy trunk to testing-x86_64 Added: clang/repos/testing-x86_64/ clang/repos/testing-x86_64/PKGBUILD (from rev 328096, clang/trunk/PKGBUILD) clang/repos/testing-x86_64/enable-SSP-and-PIE-by-default.patch (from rev 328096, clang/trunk/enable-SSP-and-PIE-by-default.patch) -+ PKGBUILD| 107 ++ enable-SSP-and-PIE-by-default.patch | 257 ++ 2 files changed, 364 insertions(+) Copied: clang/repos/testing-x86_64/PKGBUILD (from rev 328096, clang/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-07-08 16:59:54 UTC (rev 328097) @@ -0,0 +1,107 @@ +# $Id$ +# Maintainer: Evangelos Foutras +# Contributor: Jan "heftig" Steffens + +pkgname=clang +pkgver=6.0.1 +pkgrel=1 +pkgdesc="C language family frontend for LLVM" +arch=('x86_64') +url="https://clang.llvm.org/; +license=('custom:University of Illinois/NCSA Open Source License') +depends=('llvm-libs' 'gcc' 'compiler-rt') +makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx' 'python2') +optdepends=('openmp: OpenMP support in clang with -fopenmp' +'python: for git-clang-format' +'python2: for scan-view') +provides=("clang-analyzer=$pkgver" "clang-tools-extra=$pkgver") +conflicts=('clang-analyzer' 'clang-tools-extra') +replaces=('clang-analyzer' 'clang-tools-extra') +source=(https://releases.llvm.org/$pkgver/cfe-$pkgver.src.tar.xz{,.sig} + https://releases.llvm.org/$pkgver/clang-tools-extra-$pkgver.src.tar.xz{,.sig} +https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz{,.sig} +enable-SSP-and-PIE-by-default.patch) +sha256sums=('7c243f1485bddfdfedada3cd402ff4792ea82362ff91fbdac2dae67c6026b667' +'SKIP' +'0d2e3727786437574835b75135f9e36f861932a958d8547ced7e13ebdda115f1' +'SKIP' +'b6d6c324f9c71494c0ccaf3dac1f16236d970002b42bb24a6c9e1634f7d0f4e2' +'SKIP' +'28d38b7f4bcaa0c974f8c48d732a0db309ea89ffa901c39de90725ae857946c1') +validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard + +prepare() { + cd "$srcdir/cfe-$pkgver.src" + mkdir build + mv "$srcdir/clang-tools-extra-$pkgver.src" tools/extra + patch -Np1 -i ../enable-SSP-and-PIE-by-default.patch +} + +build() { + cd "$srcdir/cfe-$pkgver.src/build" + + cmake .. -G Ninja \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DPYTHON_EXECUTABLE=/usr/bin/python \ +-DBUILD_SHARED_LIBS=ON \ +-DLLVM_LINK_LLVM_DYLIB=ON \ +-DLLVM_ENABLE_RTTI=ON \ +-DLLVM_BUILD_TESTS=ON \ +-DLLVM_INCLUDE_DOCS=ON \ +-DLLVM_BUILD_DOCS=ON \ +-DLLVM_ENABLE_SPHINX=ON \ +-DSPHINX_WARNINGS_AS_ERRORS=OFF \ +-DLLVM_EXTERNAL_LIT=/usr/bin/lit \ +-DLLVM_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src" + ninja +} + +check() { + cd "$srcdir/cfe-$pkgver.src/build" + ninja check-clang{,-tools} +} + +_python2_optimize() { + python2 -m compileall "$@" + python2 -O -m compileall "$@" +} + +_python3_optimize() { + python3 -m compileall "$@" + python3 -O -m compileall "$@" + python3 -OO -m compileall "$@" +} + +package() { + cd "$srcdir/cfe-$pkgver.src/build" + + DESTDIR="$pkgdir" ninja install + install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # Remove documentation sources + rm -r "$pkgdir"/usr/share/doc/clang{,-tools}/html/{_sources,.buildinfo} + + # Move analyzer scripts out of /usr/libexec + mv "$pkgdir"/usr/libexec/{ccc,c++}-analyzer "$pkgdir/usr/lib/clang/" + rmdir "$pkgdir/usr/libexec" + sed -i 's|libexec|lib/clang|' "$pkgdir/usr/bin/scan-build" + + # Install Python bindings + for _py in 2.7 3.6; do +install -d "$pkgdir/usr/lib/python$_py/site-packages" +cp -a ../bindings/python/clang "$pkgdir/usr/lib/python$_py/site-packages/" +_python${_py%%.*}_optimize "$pkgdir/usr/lib/python$_py" + done + + # Fix shebang in Python 2 scripts + sed -i '1s|/usr/bin/env python$|&2|' \ +"$pkgdir/usr/bin/scan-view" \ +"$pkgdir"/usr/share/$pkgname/*.py + + # Compile Python scripts + _python2_optimize "$pkgdir/usr/share" +} + +# vim:set ts=2 sw=2 et: Copied: clang/repos/testing-x86_64/enable-SSP-and-PIE-by-default.patch (from rev 328096, clang/trunk/enable-SSP-and-PIE-by-default.patch) === --- testing-x86_64/enable-SSP-and-PIE-by-default.patch (rev 0) +++ testing-x86_64/enable-SSP-and-PIE-by-default.patch 2018-07-08 16:59:54 UTC (rev 328097) @@ -0,0 +1,257 @@ +From b0307536e769c8ce11dbfa1956d617e8fc9366a7 Mon Sep 17 00:00:00 2001 +From: Evangelos Foutras +Date: Thu, 8 Mar 2018 18:38:53 +0200
[arch-commits] Commit in python-xapian/repos (community-testing-x86_64 testing-x86_64)
Date: Sunday, July 8, 2018 @ 16:59:13 Author: felixonmars Revision: 355103 fix broken pkgrelease Added: python-xapian/repos/community-testing-x86_64/ Deleted: python-xapian/repos/testing-x86_64/
[arch-commits] Commit in git-annex/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:20:50 Author: felixonmars Revision: 355124 upgpkg: git-annex 6.20180626-25 rebuild with yaml 0.8.31.1 Modified: git-annex/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:14:54 UTC (rev 355123) +++ PKGBUILD2018-07-08 17:20:50 UTC (rev 355124) @@ -4,7 +4,7 @@ pkgname=git-annex pkgver=6.20180626 -pkgrel=24 +pkgrel=25 pkgdesc="Manage files with git, without checking their contents into git" url="http://git-annex.branchable.com/; license=("AGPL3")
[arch-commits] Commit in hindent/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:22:46 Author: felixonmars Revision: 355129 upgpkg: hindent 5.2.5-55 rebuild with yaml 0.8.31.1 Modified: hindent/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:21:53 UTC (rev 355128) +++ PKGBUILD2018-07-08 17:22:46 UTC (rev 355129) @@ -4,7 +4,7 @@ pkgname=hindent pkgver=5.2.5 -pkgrel=54 +pkgrel=55 pkgdesc="Extensible Haskell pretty printer" url="https://github.com/commercialhaskell/hindent; license=("custom:BSD3")
[arch-commits] Commit in git-annex/repos (3 files)
Date: Sunday, July 8, 2018 @ 17:21:13 Author: felixonmars Revision: 355125 archrelease: copy trunk to community-staging-x86_64 Added: git-annex/repos/community-staging-x86_64/ git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 355124, git-annex/trunk/PKGBUILD) git-annex/repos/community-staging-x86_64/ghc-8.4.patch (from rev 355124, git-annex/trunk/ghc-8.4.patch) ---+ PKGBUILD | 54 ghc-8.4.patch | 121 2 files changed, 175 insertions(+) Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 355124, git-annex/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:21:13 UTC (rev 355125) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=git-annex +pkgver=6.20180626 +pkgrel=25 +pkgdesc="Manage files with git, without checking their contents into git" +url="http://git-annex.branchable.com/; +license=("AGPL3") +arch=('x86_64') +depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-aws' + 'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 'haskell-case-insensitive' + 'haskell-clientsession' 'haskell-concurrent-output' 'haskell-connection' 'haskell-conduit' + 'haskell-crypto-api' 'haskell-cryptonite' 'haskell-data-default' 'haskell-dav' + 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist' 'haskell-dns' + 'haskell-edit-distance' 'haskell-esqueleto' 'haskell-exceptions' 'haskell-fdo-notify' + 'haskell-feed' 'haskell-hinotify' 'haskell-hslogger' 'haskell-http-client' + 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 'haskell-ifelse' + 'haskell-magic' 'haskell-memory' 'haskell-monad-control' 'haskell-monad-logger' + 'haskell-mountpoints' 'haskell-network' 'haskell-network-info' 'haskell-network-multicast' + 'haskell-network-uri' 'haskell-old-locale' 'haskell-optparse-applicative' + 'haskell-path-pieces' 'haskell-persistent' 'haskell-persistent-sqlite' + 'haskell-persistent-template' 'haskell-quickcheck' 'haskell-random' 'haskell-regex-tdfa' + 'haskell-resourcet' 'haskell-safesemaphore' 'haskell-sandi' 'haskell-securemem' + 'haskell-shakespeare' 'haskell-socks' 'haskell-split' 'haskell-stm-chans' 'haskell-tagsoup' + 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-tasty-rerun' + 'haskell-torrent' 'haskell-unix-compat' 'haskell-unordered-containers' + 'haskell-utf8-string' 'haskell-uuid' 'haskell-vector' 'haskell-wai' 'haskell-wai-extra' + 'haskell-warp' 'haskell-warp-tls' 'haskell-yesod' 'haskell-yesod-core' 'haskell-yesod-form' + 'haskell-yesod-static') +makedepends=('chrpath' 'ghc') +source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver;) +sha512sums=('SKIP') + +build() { + cd git-annex + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \ +--docdir="/usr/share/doc/$pkgname" \ +-fnetwork-uri -fconcurrentoutput -ftorrentparser \ +-f-androidsplice -f-android -fproduction -fpairing -fwebapp \ +-fassistant -fwebdav -fs3 -f-benchmark -fdbus -fmagicmime + runhaskell Setup build +} + +package() { + cd git-annex + runhaskell Setup copy --destdir="$pkgdir" + make GHC="ghc -dynamic" BUILDER=true DESTDIR="$pkgdir" -j1 install-misc + + rm "$pkgdir"/usr/share/doc/git-annex/COPYRIGHT + rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc +} Copied: git-annex/repos/community-staging-x86_64/ghc-8.4.patch (from rev 355124, git-annex/trunk/ghc-8.4.patch) === --- community-staging-x86_64/ghc-8.4.patch (rev 0) +++ community-staging-x86_64/ghc-8.4.patch 2018-07-08 17:21:13 UTC (rev 355125) @@ -0,0 +1,121 @@ +diff --git a/Command/Info.hs b/Command/Info.hs +index c9a314056a..3ae82f5532 100644 +--- a/Command/Info.hs b/Command/Info.hs +@@ -56,15 +56,17 @@ data KeyData = KeyData + , backendsKeys :: M.Map KeyVariety Integer + } + +-instance Monoid KeyData where +- mempty = KeyData 0 0 0 M.empty +- mappend a b = KeyData ++instance Semigroup KeyData where ++ a <> b = KeyData + { countKeys = countKeys a + countKeys b + , sizeKeys = sizeKeys a + sizeKeys b + , unknownSizeKeys = unknownSizeKeys a + unknownSizeKeys b + , backendsKeys = backendsKeys a <> backendsKeys b + } + ++instance Monoid KeyData where ++ mempty = KeyData 0 0 0 M.empty ++ + data NumCopiesStats = NumCopiesStats + { numCopiesVarianceMap :: M.Map Variance Integer +
[arch-commits] Commit in python-tqdm/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:02:10 Author: foutrelis Revision: 354933 Python 3.7 rebuild Modified: python-tqdm/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:01:38 UTC (rev 354932) +++ PKGBUILD2018-07-08 14:02:10 UTC (rev 354933) @@ -4,7 +4,7 @@ pkgbase=python-tqdm pkgname=('python-tqdm' 'python2-tqdm') pkgver=4.23.4 -pkgrel=1 +pkgrel=2 pkgdesc='Fast, Extensible Progress Meter' arch=('any') license=('MIT' 'MPL')
[arch-commits] Commit in sip/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:10:03 Author: arojas Revision: 328076 archrelease: copy trunk to staging-x86_64 Added: sip/repos/staging-x86_64/PKGBUILD (from rev 328075, sip/trunk/PKGBUILD) Deleted: sip/repos/staging-x86_64/PKGBUILD --+ PKGBUILD | 157 +++-- 1 file changed, 91 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 14:09:39 UTC (rev 328075) +++ PKGBUILD2018-07-08 14:10:03 UTC (rev 328076) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip') -pkgver=4.19.8 -pkgrel=2 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('7eaf7a2ea7d4d38a56dd6d2506574464bddf7cf284c960801679942377c297bc') - -prepare() { - cp -a sip-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/sip-$pkgver - python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/sip-$pkgver-py2 - python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd sip-$pkgver - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('sip' 'python') - - cd sip-$pkgver - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python3.7/site-packages/sipconfig.py - install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python3.7/site-packages/sipdistutils.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('sip' 'python2') - - cd sip-$pkgver-py2 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python2.7/site-packages/sipconfig.py - install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python2.7/site-packages/sipdistutils.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: sip/repos/staging-x86_64/PKGBUILD (from rev 328075, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 14:10:03 UTC (rev 328076) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgver=4.19.12 +pkgrel=2 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') + +prepare() { + mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-pyqt5 + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip + make + + cd "$srcdir"/build-pyqt5-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd build + make DESTDIR="$pkgdir" install -C sipgen + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-sip() { + pkgdesc="Python 3.x SIP bindings for C and C++ libraries" + depends=('python') + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/bin # conflicts with sip + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-sip() { + pkgdesc="Python 2.x SIP bindings for C and C++ libraries" + depends=('sip' 'python2') + + cd build-py2 + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/bin # conflicts with sip + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-sip-pyqt5() { + pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" + depends=('python') + + cd build-pyqt5 + make
[arch-commits] Commit in python-statsmodels/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:11:30 Author: foutrelis Revision: 354938 archrelease: copy trunk to community-staging-x86_64 Added: python-statsmodels/repos/community-staging-x86_64/ python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 354937, python-statsmodels/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 354937, python-statsmodels/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:11:30 UTC (rev 354938) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz +# Contributor: Oliver Sherouse + +pkgbase=python-statsmodels +pkgname=('python2-statsmodels' 'python-statsmodels') +pkgver=0.9.0 +pkgrel=2 +pkgdesc="Statistical computations and models for use with SciPy" +arch=('x86_64') +url="http://statsmodels.sourceforge.net/; +license=('BSD') +makedepends=('python2-setuptools' 'python2-scipy' 'python2-pandas' 'python2-patsy' + 'python-setuptools' 'python-scipy' 'python-pandas' 'python-patsy' +'cython' 'cython2' 'python-tempita' 'python2-tempita') +source=("https://github.com/statsmodels/statsmodels/archive/v${pkgver}.tar.gz;) +md5sums=('8cb06154cef733d1e03b1b5d763a2ae1') + +prepare() { + cd "$srcdir" + cp -a statsmodels-${pkgver} statsmodels-py2-${pkgver} + cd statsmodels-py2-${pkgver} + + sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \ + -i $(find . -name '*.py') +} + +build() { + msg "Building Python2" + cd "$srcdir"/statsmodels-py2-${pkgver} + python2 setup.py build + + msg "Building Python3" + cd "$srcdir"/statsmodels-${pkgver} + python setup.py build +} + +package_python2-statsmodels() { + depends=('python2-scipy' 'python2-pandas' 'python2-patsy') + optdepends=('python2-nose: needed for integrated test suite' + 'python2-matplotlib: needed for plotting functions') + + cd "$srcdir"/statsmodels-py2-${pkgver} + + python2 setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-statsmodels() { + depends=('python-scipy' 'python-pandas' 'python-patsy') + optdepends=('python-nose: needed for integrated test suite' + 'python-matplotlib: needed for plotting functions') + + cd "$srcdir"/statsmodels-${pkgver} + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +
[arch-commits] Commit in opendht/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:10:52 Author: foutrelis Revision: 354936 archrelease: copy trunk to community-staging-x86_64 Added: opendht/repos/community-staging-x86_64/ opendht/repos/community-staging-x86_64/PKGBUILD (from rev 354935, opendht/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: opendht/repos/community-staging-x86_64/PKGBUILD (from rev 354935, opendht/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:10:52 UTC (rev 354936) @@ -0,0 +1,58 @@ +# Maintainer: Baptiste Jonglez +pkgname=opendht +pkgver=1.7.3rc4 +pkgrel=2 +epoch=1 +pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)" +arch=('x86_64') +depends=('gnutls' 'nettle' 'readline' 'argon2' 'jsoncpp' 'restbed') +makedepends=('msgpack-c' 'cmake' 'cython' 'systemd' 'cppunit') +optdepends=('python: to use the Python bindings') +url="https://github.com/savoirfairelinux/opendht; +license=('GPL3') +source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz;) +sha256sums=('5fced76228ca2603cd9f80a5537fc568cc9f19d139107a03dc1f0c40e9489476') +sha512sums=('894499d4a49b664fb5372e36453fcd03f0aa5600be3e58eb03304422725de8caddbf03251d7c02d0a98c2bb82d7c31029d09fb244f24afe8cca03994cf9fd959') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + msg2 'Building...' + mkdir -p build + cd build + cmake .. \ +-DCMAKE_BUILD_TYPE=None \ +-DOPENDHT_TESTS=ON \ +-DOPENDHT_DOCUMENTATION=OFF \ +-DOPENDHT_STATIC=OFF \ +-DOPENDHT_SYSTEMD=ON \ +-DOPENDHT_LTO=ON \ +-DOPENDHT_TOOLS=ON \ +-DOPENDHT_PYTHON=ON \ +-DOPENDHT_PROXY_SERVER=ON \ +-DOPENDHT_PROXY_CLIENT=ON \ +-DOPENDHT_PUSH_NOTIFICATIONS=ON \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + cd build + make test +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + msg2 'Installing...' + cd build + make DESTDIR="$pkgdir" install + cd .. + + msg2 'Installing documentation...' + install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md" +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in opendht/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:10:47 Author: foutrelis Revision: 354935 Python 3.7 rebuild Modified: opendht/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:02:15 UTC (rev 354934) +++ PKGBUILD2018-07-08 14:10:47 UTC (rev 354935) @@ -1,7 +1,7 @@ # Maintainer: Baptiste Jonglez pkgname=opendht pkgver=1.7.3rc4 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)" arch=('x86_64')
[arch-commits] Commit in bandit/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:11:57 Author: foutrelis Revision: 354939 Python 3.7 rebuild Modified: bandit/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:11:30 UTC (rev 354938) +++ PKGBUILD2018-07-08 14:11:57 UTC (rev 354939) @@ -2,7 +2,7 @@ pkgname=bandit pkgver=1.4.0 -pkgrel=3 +pkgrel=4 pkgdesc='Python security linter from OpenStack Security' arch=('any') url='https://wiki.openstack.org/wiki/Security/Projects/Bandit'
[arch-commits] Commit in python-statsmodels/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:11:25 Author: foutrelis Revision: 354937 Python 3.7 rebuild Modified: python-statsmodels/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:10:52 UTC (rev 354936) +++ PKGBUILD2018-07-08 14:11:25 UTC (rev 354937) @@ -5,7 +5,7 @@ pkgbase=python-statsmodels pkgname=('python2-statsmodels' 'python-statsmodels') pkgver=0.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="Statistical computations and models for use with SciPy" arch=('x86_64') url="http://statsmodels.sourceforge.net/;
[arch-commits] Commit in avr-gdb/repos (3 files)
Date: Sunday, July 8, 2018 @ 14:26:05 Author: foutrelis Revision: 354967 archrelease: copy trunk to community-staging-x86_64 Added: avr-gdb/repos/community-staging-x86_64/ avr-gdb/repos/community-staging-x86_64/PKGBUILD (from rev 354966, avr-gdb/trunk/PKGBUILD) avr-gdb/repos/community-staging-x86_64/fix_python37.patch (from rev 354966, avr-gdb/trunk/fix_python37.patch) + PKGBUILD | 57 fix_python37.patch | 66 +++ 2 files changed, 123 insertions(+) Copied: avr-gdb/repos/community-staging-x86_64/PKGBUILD (from rev 354966, avr-gdb/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:26:05 UTC (rev 354967) @@ -0,0 +1,57 @@ +# Maintainer: schuay +# Contributor: Ivan Sichmann Freitas +# Contributor: Laszlo Papp +# Contributor: Gerardo Exequiel Pozzi +# Contributor: Vladimir Cerny +# Contributor: 4javier <4javieregATgmailDOTcom> + +_target=avr +pkgname=$_target-gdb +pkgver=8.1 +pkgrel=2 +pkgdesc='The GNU Debugger for AVR' +arch=(x86_64) +url='http://www.gnu.org/software/gdb/' +license=(GPL3) +depends=(python guile2.0 xz gdb-common mpfr) +options=(!emptydirs) +source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig} +fix_python37.patch) +sha256sums=('af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34' +'SKIP' +'8978e8f926cc051ed8394f006c288fecbe067407ac8a4474cf28b71180a66599') +validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker + +prepare() { + cd gdb-$pkgver + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + patch -p1 < ../fix_python37.patch +} + +build() { + cd gdb-$pkgver + + ./configure \ +--disable-nls \ +--enable-languages=c,c++ \ +--prefix=/usr \ +--target=$_target \ +--with-python=/usr/bin/python3 \ +--with-guile=guile-2.0 \ +--with-system-readline \ +--with-system-gdbinit=/etc/gdb/gdbinit + + make +} + +package() { + cd gdb-$pkgver + + make DESTDIR="$pkgdir" install + + rm -r "$pkgdir"/usr/share/info + rm -r "$pkgdir"/usr/share/man + rm -r "$pkgdir"/usr/share/gdb + rm -r "$pkgdir"/usr/include/gdb +} Copied: avr-gdb/repos/community-staging-x86_64/fix_python37.patch (from rev 354966, avr-gdb/trunk/fix_python37.patch) === --- community-staging-x86_64/fix_python37.patch (rev 0) +++ community-staging-x86_64/fix_python37.patch 2018-07-08 14:26:05 UTC (rev 354967) @@ -0,0 +1,66 @@ +From aeab512851bf6ed623d1c6c4305b6ce05e51a10c Mon Sep 17 00:00:00 2001 +From: Paul Koning +Date: Fri, 8 Jun 2018 13:26:36 -0400 +Subject: [PATCH] Fix build issue with Python 3.7 + +Originally reported in +https://bugzilla.redhat.com/show_bug.cgi?id=1577396 -- gdb build fails +with Python 3.7 due to references to a Python internal function whose +declaration changed in 3.7. + +gdb/ChangeLog +2018-06-08 Paul Koning + + PR gdb/23252 + + * python/python.c (do_start_initialization): + Avoid call to internal Python API. + (init__gdb_module): New function. +--- + gdb/ChangeLog | 8 + gdb/python/python.c | 18 +++--- + 2 files changed, 23 insertions(+), 3 deletions(-) + +diff --git a/gdb/python/python.c b/gdb/python/python.c +index 1805c906284..20fc674f20a 100644 +--- a/gdb/python/python.c b/gdb/python/python.c +@@ -1667,6 +1667,17 @@ finalize_python (void *ignore) + restore_active_ext_lang (previous_active); + } + ++#ifdef IS_PY3K ++/* This is called via the PyImport_AppendInittab mechanism called ++ during initialization, to make the built-in _gdb module known to ++ Python. */ ++PyMODINIT_FUNC ++init__gdb_module (void) ++{ ++ return PyModule_Create (_GdbModuleDef); ++} ++#endif ++ + static bool + do_start_initialization () + { +@@ -1707,6 +1718,9 @@ do_start_initialization () + remain alive for the duration of the program's execution, so + it is not freed after this call. */ + Py_SetProgramName (progname_copy); ++ ++ /* Define _gdb as a built-in module. */ ++ PyImport_AppendInittab ("_gdb", init__gdb_module); + #else + Py_SetProgramName (progname.release ()); + #endif +@@ -1716,9 +1730,7 @@ do_start_initialization () + PyEval_InitThreads (); + + #ifdef IS_PY3K +- gdb_module = PyModule_Create (_GdbModuleDef); +- /* Add _gdb module to the list of known built-in modules. */ +- _PyImport_FixupBuiltin (gdb_module, "_gdb"); ++ gdb_module = PyImport_ImportModule ("_gdb"); + #else + gdb_module = Py_InitModule ("_gdb", python_GdbMethods); + #endif
[arch-commits] Commit in aarch64-linux-gnu-gdb/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:26:07 Author: foutrelis Revision: 354969 Python 3.7 rebuild Modified: aarch64-linux-gnu-gdb/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:26:06 UTC (rev 354968) +++ PKGBUILD2018-07-08 14:26:07 UTC (rev 354969) @@ -4,7 +4,7 @@ _target=aarch64-linux-gnu pkgname=$_target-gdb pkgver=8.1 -pkgrel=1 +pkgrel=2 pkgdesc='The GNU Debugger for the ARM64 target' arch=(x86_64) url='https://www.gnu.org/software/gdb/'
[arch-commits] Commit in aarch64-linux-gnu-gdb/repos (3 files)
Date: Sunday, July 8, 2018 @ 14:26:12 Author: foutrelis Revision: 354970 archrelease: copy trunk to community-staging-x86_64 Added: aarch64-linux-gnu-gdb/repos/community-staging-x86_64/ aarch64-linux-gnu-gdb/repos/community-staging-x86_64/PKGBUILD (from rev 354969, aarch64-linux-gnu-gdb/trunk/PKGBUILD) aarch64-linux-gnu-gdb/repos/community-staging-x86_64/fix_python37.patch (from rev 354969, aarch64-linux-gnu-gdb/trunk/fix_python37.patch) + PKGBUILD | 56 +++ fix_python37.patch | 66 +++ 2 files changed, 122 insertions(+) Copied: aarch64-linux-gnu-gdb/repos/community-staging-x86_64/PKGBUILD (from rev 354969, aarch64-linux-gnu-gdb/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:26:12 UTC (rev 354970) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Anatol Pomozov + +_target=aarch64-linux-gnu +pkgname=$_target-gdb +pkgver=8.1 +pkgrel=2 +pkgdesc='The GNU Debugger for the ARM64 target' +arch=(x86_64) +url='https://www.gnu.org/software/gdb/' +license=(GPL3) +depends=(xz ncurses expat python guile2.0 gdb-common mpfr) +options=(!emptydirs) +source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig} +fix_python37.patch) +validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker +sha256sums=('af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34' +'SKIP' +'8978e8f926cc051ed8394f006c288fecbe067407ac8a4474cf28b71180a66599') + +prepare() { + cd gdb-$pkgver + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + patch -p1 < ../fix_python37.patch +} + +build() { + cd gdb-$pkgver + + ./configure \ +--target=$_target \ +--prefix=/usr \ +--enable-languages=c,c++ \ +--disable-multilib \ +--enable-interwork \ +--with-system-readline \ +--disable-nls \ +--with-python=/usr/bin/python3 \ +--with-guile=guile-2.0 \ +--with-system-gdbinit=/etc/gdb/gdbinit + + make +} + +package() { + cd gdb-$pkgver + + make DESTDIR="$pkgdir" install + + # Following files conflict with 'gdb' package + rm -r "$pkgdir"/usr/share/info + rm -r "$pkgdir"/usr/share/gdb + rm -r "$pkgdir"/usr/include/gdb + rm -r "$pkgdir"/usr/share/man/man5 +} Copied: aarch64-linux-gnu-gdb/repos/community-staging-x86_64/fix_python37.patch (from rev 354969, aarch64-linux-gnu-gdb/trunk/fix_python37.patch) === --- community-staging-x86_64/fix_python37.patch (rev 0) +++ community-staging-x86_64/fix_python37.patch 2018-07-08 14:26:12 UTC (rev 354970) @@ -0,0 +1,66 @@ +From aeab512851bf6ed623d1c6c4305b6ce05e51a10c Mon Sep 17 00:00:00 2001 +From: Paul Koning +Date: Fri, 8 Jun 2018 13:26:36 -0400 +Subject: [PATCH] Fix build issue with Python 3.7 + +Originally reported in +https://bugzilla.redhat.com/show_bug.cgi?id=1577396 -- gdb build fails +with Python 3.7 due to references to a Python internal function whose +declaration changed in 3.7. + +gdb/ChangeLog +2018-06-08 Paul Koning + + PR gdb/23252 + + * python/python.c (do_start_initialization): + Avoid call to internal Python API. + (init__gdb_module): New function. +--- + gdb/ChangeLog | 8 + gdb/python/python.c | 18 +++--- + 2 files changed, 23 insertions(+), 3 deletions(-) + +diff --git a/gdb/python/python.c b/gdb/python/python.c +index 1805c906284..20fc674f20a 100644 +--- a/gdb/python/python.c b/gdb/python/python.c +@@ -1667,6 +1667,17 @@ finalize_python (void *ignore) + restore_active_ext_lang (previous_active); + } + ++#ifdef IS_PY3K ++/* This is called via the PyImport_AppendInittab mechanism called ++ during initialization, to make the built-in _gdb module known to ++ Python. */ ++PyMODINIT_FUNC ++init__gdb_module (void) ++{ ++ return PyModule_Create (_GdbModuleDef); ++} ++#endif ++ + static bool + do_start_initialization () + { +@@ -1707,6 +1718,9 @@ do_start_initialization () + remain alive for the duration of the program's execution, so + it is not freed after this call. */ + Py_SetProgramName (progname_copy); ++ ++ /* Define _gdb as a built-in module. */ ++ PyImport_AppendInittab ("_gdb", init__gdb_module); + #else + Py_SetProgramName (progname.release ()); + #endif +@@ -1716,9 +1730,7 @@ do_start_initialization () + PyEval_InitThreads (); + + #ifdef IS_PY3K +- gdb_module = PyModule_Create (_GdbModuleDef); +- /* Add _gdb module to the list of known built-in modules. */ +- _PyImport_FixupBuiltin (gdb_module, "_gdb"); ++ gdb_module = PyImport_ImportModule ("_gdb"); + #else + gdb_module = Py_InitModule ("_gdb", python_GdbMethods); + #endif
[arch-commits] Commit in haskell-hakyll/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:25:36 Author: felixonmars Revision: 354965 upgpkg: haskell-hakyll 4.12.3.0-48 rebuild with network 2.7.0.2 Modified: haskell-hakyll/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:23:14 UTC (rev 354964) +++ PKGBUILD2018-07-08 14:25:36 UTC (rev 354965) @@ -5,7 +5,7 @@ _hkgname=hakyll pkgname=haskell-hakyll pkgver=4.12.3.0 -pkgrel=47 +pkgrel=48 pkgdesc="A static website compiler library" url="http://jaspervdj.be/hakyll; license=("custom:BSD3")
[arch-commits] Commit in avr-gdb/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:26:00 Author: foutrelis Revision: 354966 Python 3.7 rebuild Modified: avr-gdb/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:25:36 UTC (rev 354965) +++ PKGBUILD2018-07-08 14:26:00 UTC (rev 354966) @@ -8,7 +8,7 @@ _target=avr pkgname=$_target-gdb pkgver=8.1 -pkgrel=1 +pkgrel=2 pkgdesc='The GNU Debugger for AVR' arch=(x86_64) url='http://www.gnu.org/software/gdb/'
[arch-commits] Commit in haskell-hakyll/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:26:06 Author: felixonmars Revision: 354968 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hakyll/repos/community-staging-x86_64/ haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 354965, haskell-hakyll/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 354965, haskell-hakyll/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:26:06 UTC (rev 354968) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=hakyll +pkgname=haskell-hakyll +pkgver=4.12.3.0 +pkgrel=48 +pkgdesc="A static website compiler library" +url="http://jaspervdj.be/hakyll; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-cryptohash' + 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 'haskell-http-conduit' + 'haskell-http-types' 'haskell-lrucache' 'haskell-network-uri' + 'haskell-optparse-applicative' 'pandoc' 'pandoc-citeproc' 'haskell-random' + 'haskell-regex-tdfa' 'haskell-resourcet' 'haskell-scientific' 'haskell-tagsoup' + 'haskell-time-locale-compat' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-app-static' 'haskell-warp' 'haskell-yaml') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit' + 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +sha512sums=('287112e1cb7ac4c06f976ee77fe6b64605c96f04e78c366cffdc24d435f57d37c06543e180476a23bd5e7a42a54e4b30a08ad5e4a8aec5fd97052503691574fc') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +LC_CTYPE=en_US.UTF-8 runhaskell Setup test +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in xmobar/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:37:11 Author: felixonmars Revision: 354992 upgpkg: xmobar 0.26-49 rebuild with network 2.7.0.2 Modified: xmobar/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:35:54 UTC (rev 354991) +++ PKGBUILD2018-07-08 15:37:11 UTC (rev 354992) @@ -5,7 +5,7 @@ pkgname=xmobar pkgver=0.26 -pkgrel=48 +pkgrel=49 pkgdesc='Minimalistic Text Based Status Bar' url='https://hackage.haskell.org/package/xmobar' license=('custom:BSD3')
[arch-commits] Commit in netcdf-openmpi/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:38:07 Author: archange Revision: 354994 PnetCDF 1.10 rebuild Modified: netcdf-openmpi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 15:37:33 UTC (rev 354993) +++ PKGBUILD2018-07-08 15:38:07 UTC (rev 354994) @@ -7,7 +7,7 @@ _mpi=openmpi pkgname=${_pkg}-${_mpi} pkgver=4.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" arch=('x86_64') url="https://www.unidata.ucar.edu/software/netcdf/;
[arch-commits] Commit in xmobar/repos (2 files)
Date: Sunday, July 8, 2018 @ 15:37:33 Author: felixonmars Revision: 354993 archrelease: copy trunk to community-staging-x86_64 Added: xmobar/repos/community-staging-x86_64/ xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 354992, xmobar/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 354992, xmobar/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 15:37:33 UTC (rev 354993) @@ -0,0 +1,45 @@ +# Maintainer: Levente Polyak +# Maintainer: Jelle van der Waa +# Contributer: Sergej Pupykin +# Contributor: Arch Haskell Team + +pkgname=xmobar +pkgver=0.26 +pkgrel=49 +pkgdesc='Minimalistic Text Based Status Bar' +url='https://hackage.haskell.org/package/xmobar' +license=('custom:BSD3') +arch=('x86_64') +depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11' + 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri' + 'haskell-hinotify' 'haskell-regex-base' 'haskell-regex-compat' 'haskell-http' + 'haskell-dbus0.10' 'haskell-libmpd' 'haskell-iwlib' 'wireless_tools') +makedepends=('ghc') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jaor/xmobar/archive/${pkgver}.tar.gz + hinotify-0.3.10.patch::https://github.com/jaor/xmobar/commit/fb0a23f395445540f865ae00b33e75e0175db4ef.patch) +sha512sums=('c67c1552f7183a6f33b472f19686cda41cca27c0de89a8d0dcb1f8ea008aea85a143d75608d4392a1a1c9933737a6cbe881cff9ddd13f632d581cd0e10ca8d4d' + '53b7cca689386e976383ebbe56db877fb01896a5dfcb1e4e4e5424a9ce1ef7cc75a38dbed2bdb23e9521357c1e5945a7b58f70df07029fd38e398c6ca4891264') + +prepare() { + cd xmobar-$pkgver + patch -p1 -i ../hinotify-0.3.10.patch +} + +build() { + cd xmobar-${pkgver} + runhaskell setup configure -O \ +--enable-shared \ +--prefix=/usr \ +--enable-executable-dynamic \ +--disable-library-vanilla \ +--flags="with_utf8 with_xft with_iwlib with_xpm with_inotify with_mpd with_dbus with_mpris" + runhaskell setup build +} + +package() { + cd xmobar-${pkgver} + runhaskell setup copy --destdir="${pkgdir}" + install -Dm 644 license "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:38:33 Author: archange Revision: 354995 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 354994, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 15:38:07 UTC (rev 354994) +++ PKGBUILD2018-07-08 15:38:33 UTC (rev 354995) @@ -1,65 +0,0 @@ -# $Id: PKGBUILD 237977 2017-06-17 17:10:45Z archange $ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.1 -pkgrel=1 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=('netcdf') -conflicts=('netcdf') -options=('!makeflags') -license=('custom') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 354994, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 15:38:33 UTC (rev 354995) @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 237977 2017-06-17 17:10:45Z archange $ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.6.1 +pkgrel=2 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=('x86_64') +url="https://www.unidata.ucar.edu/software/netcdf/; +depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') +makedepends=('cmake') +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=('inetutils') +provides=('netcdf') +conflicts=('netcdf') +options=('!makeflags') +license=('custom') +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in cgrep/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:06:56 Author: felixonmars Revision: 355109 archrelease: copy trunk to community-staging-x86_64 Added: cgrep/repos/community-staging-x86_64/ cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 355108, cgrep/trunk/PKGBUILD) --+ PKGBUILD | 31 +++ 1 file changed, 31 insertions(+) Copied: cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 355108, cgrep/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:06:56 UTC (rev 355109) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=cgrep +pkgver=6.6.25 +pkgrel=46 +pkgdesc="A context-aware grep for source codes" +url="http://awgn.github.io/cgrep/; +license=("GPL2") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 'haskell-cmdargs' + 'haskell-dlist' 'haskell-either' 'haskell-exceptions' 'haskell-regex-base' + 'haskell-regex-pcre' 'haskell-regex-posix' 'haskell-safe' 'haskell-split' + 'haskell-stringsearch' 'haskell-unix-compat' 'haskell-unicode-show' + 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-yaml') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;) +sha512sums=('d3b5a9c249034de37645cfcd6711d701dc5e51fd35f1d5a2c77e9a0c470965f9d268ea3ee523fdc92029e5161688122ed8e04590ca81c7b7b601abec5b2e5e42') + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" +runhaskell Setup build +} + +package() { +cd $pkgname-$pkgver +runhaskell Setup copy --destdir="$pkgdir" +}
[arch-commits] Commit in python-h5py/repos (2 files)
Date: Sunday, July 8, 2018 @ 17:06:29 Author: felixonmars Revision: 355107 archrelease: copy trunk to community-staging-x86_64 Added: python-h5py/repos/community-staging-x86_64/ python-h5py/repos/community-staging-x86_64/PKGBUILD (from rev 355106, python-h5py/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: python-h5py/repos/community-staging-x86_64/PKGBUILD (from rev 355106, python-h5py/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 17:06:29 UTC (rev 355107) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Felix Yan +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: Andrzej Giniewicz +# Contributor: Rich Li +# Contributor: Sebastien Binet + +_pkg=h5py +pkgbase=python-$_pkg +pkgname=(python-$_pkg python2-$_pkg) +pkgver=2.8.0 +pkgrel=2 +pkgdesc="General-purpose Python bindings for the HDF5 library" +url="http://www.h5py.org/; +arch=('x86_64') +license=('BSD') +makedepends=('hdf5' 'cython' 'cython2' 'python-numpy' 'python2-numpy' 'python-six' 'python2-six' + 'python-pkgconfig' 'python2-pkgconfig') +checkdepends=('python2-unittest2') +#source=("https://pypi.io/packages/source/h/$_pkg/$_pkg-$pkgver.tar.gz"{,.asc}) +source=($pkgname-$pkgver.tar.gz::"https://github.com/h5py/h5py/archive/$pkgver.tar.gz;) +sha256sums=('eae41382be28b7264824450ce343dd625f972bedaaa3b0cced284986aabcbaee') +#'SKIP') +validpgpkeys=('AC47F71DB275ECD0B3DA46E857FA4540DD4EFCF7') # Thomas A Caswell (Brookhaven National Lab) + +prepare() { + # Remove RPATH + sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" $_pkg-$pkgver/setup_build.py + + cp -a $_pkg-$pkgver{,-py2} +} + +build() { + cd $_pkg-$pkgver + python setup.py build + + cd ../$_pkg-$pkgver-py2 + python2 setup.py build +} + +check() { + cd $_pkg-$pkgver + python setup.py test || warning "Tests failed" + + cd ../$_pkg-$pkgver-py2 + python2 setup.py test || warning "Tests failed" +} + +package_python-h5py() { + depends=('hdf5' 'python-numpy' 'python-six') + conflicts=('hdf5-openmpi') + + cd $_pkg-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -D licenses/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-h5py() { + depends=('hdf5' 'python2-numpy' 'python2-six') + conflicts=('hdf5-openmpi') + + cd $_pkg-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -D licenses/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in python-kivy/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:07:31 Author: felixonmars Revision: 355110 upgpkg: python-kivy 1.10.1-1 Modified: python-kivy/trunk/PKGBUILD --+ PKGBUILD | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:06:56 UTC (rev 355109) +++ PKGBUILD2018-07-08 17:07:31 UTC (rev 355110) @@ -6,20 +6,20 @@ pkgbase=python-kivy pkgname=('python-kivy' 'python2-kivy') -pkgver=1.10.0 +pkgver=1.10.1 pkgrel=1 pkgdesc="A software library for rapid development of hardware-accelerated multitouch applications." arch=('x86_64') url="http://kivy.org/; license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'gstreamer' 'sdl2_ttf' - 'sdl2_mixer' 'sdl2_image') +makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 'python2-docutils' 'cython' + 'cython2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') checkdepends=('python-nose' 'python2-nose' 'python2-mock' 'python-coverage' 'python2-coverage' 'python-gobject' 'python2-gobject' 'xorg-server-xvfb' 'opencv' 'python-pyenchant' 'python2-pyenchant' 'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base' - 'gst-plugins-good' 'python-dbus' 'python2-dbus') + 'gst-plugins-good' 'gst-libav' 'python-dbus' 'python2-dbus') source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;) -sha512sums=('9f6ee0214a3ef784f26cdf7298844e15858a15a81ff8aa399ad2620939a7304f5c08121800293b2977bd3ddaf3c86cfb50d3dce1e4e8b5a696e8400e4f88ced6') +sha512sums=('d0fb32e18bab86e74b7b7b67b11c46150511a9f549aa564b821e7cb46592750633ac94e9a12b1b8df3e59bd9acffa2b2394861608f46cebd10df4fb52ee604b8') prepare() { # For better metadata @@ -47,7 +47,7 @@ } package_python-kivy() { - depends=('python' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') + depends=('python-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') cd Kivy-$pkgver python setup.py install --prefix=/usr --root="$pkgdir" @@ -55,7 +55,7 @@ } package_python2-kivy() { - depends=('python2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') + depends=('python2-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') cd Kivy-$pkgver-py2 python2 setup.py install --prefix=/usr --root="$pkgdir"
[arch-commits] Commit in python-kivy/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:07:55 Author: felixonmars Revision: 355111 archrelease: copy trunk to community-x86_64 Added: python-kivy/repos/community-x86_64/PKGBUILD (from rev 355110, python-kivy/trunk/PKGBUILD) Deleted: python-kivy/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 17:07:31 UTC (rev 355110) +++ PKGBUILD2018-07-08 17:07:55 UTC (rev 355111) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Lev Lybin -# Contributor: lagrange -# Contributor: mid-kid - -pkgbase=python-kivy -pkgname=('python-kivy' 'python2-kivy') -pkgver=1.10.0 -pkgrel=1 -pkgdesc="A software library for rapid development of hardware-accelerated multitouch applications." -arch=('i686' 'x86_64') -url="http://kivy.org/; -license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'gstreamer' 'sdl2_ttf' - 'sdl2_mixer' 'sdl2_image') -checkdepends=('python-nose' 'python2-nose' 'python2-mock' 'python-coverage' 'python2-coverage' - 'python-gobject' 'python2-gobject' 'xorg-server-xvfb' 'opencv' 'python-pyenchant' - 'python2-pyenchant' 'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base' - 'gst-plugins-good' 'python-dbus' 'python2-dbus') -source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;) -sha512sums=('9f6ee0214a3ef784f26cdf7298844e15858a15a81ff8aa399ad2620939a7304f5c08121800293b2977bd3ddaf3c86cfb50d3dce1e4e8b5a696e8400e4f88ced6') - -prepare() { - # For better metadata - export KIVY_USE_SETUPTOOLS=1 - - export LC_CTYPE=en_US.UTF-8 - - cp -a Kivy-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/Kivy-$pkgver - python setup.py build build_ext --inplace - - cd "$srcdir"/Kivy-$pkgver-py2 - python2 setup.py build build_ext --inplace -} - -check() { - cd "$srcdir"/Kivy-$pkgver - xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests3 kivy/tests - - cd "$srcdir"/Kivy-$pkgver-py2 - xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests2 kivy/tests -} - -package_python-kivy() { - depends=('python' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') - - cd Kivy-$pkgver - python setup.py install --prefix=/usr --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-kivy() { - depends=('python2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') - - cd Kivy-$pkgver-py2 - python2 setup.py install --prefix=/usr --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - mv "$pkgdir"/usr/share/kivy{,2}-examples -} Copied: python-kivy/repos/community-x86_64/PKGBUILD (from rev 355110, python-kivy/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 17:07:55 UTC (rev 355111) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Lev Lybin +# Contributor: lagrange +# Contributor: mid-kid + +pkgbase=python-kivy +pkgname=('python-kivy' 'python2-kivy') +pkgver=1.10.1 +pkgrel=1 +pkgdesc="A software library for rapid development of hardware-accelerated multitouch applications." +arch=('x86_64') +url="http://kivy.org/; +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 'python2-docutils' 'cython' + 'cython2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') +checkdepends=('python-nose' 'python2-nose' 'python2-mock' 'python-coverage' 'python2-coverage' + 'python-gobject' 'python2-gobject' 'xorg-server-xvfb' 'opencv' 'python-pyenchant' + 'python2-pyenchant' 'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base' + 'gst-plugins-good' 'gst-libav' 'python-dbus' 'python2-dbus') +source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;) +sha512sums=('d0fb32e18bab86e74b7b7b67b11c46150511a9f549aa564b821e7cb46592750633ac94e9a12b1b8df3e59bd9acffa2b2394861608f46cebd10df4fb52ee604b8') + +prepare() { + # For better metadata + export KIVY_USE_SETUPTOOLS=1 + + export LC_CTYPE=en_US.UTF-8 + + cp -a Kivy-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/Kivy-$pkgver + python setup.py build build_ext --inplace + + cd "$srcdir"/Kivy-$pkgver-py2 + python2 setup.py build build_ext --inplace +} + +check() { + cd "$srcdir"/Kivy-$pkgver + xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests3 kivy/tests + + cd "$srcdir"/Kivy-$pkgver-py2 + xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests2 kivy/tests +} + +package_python-kivy() { + depends=('python-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image') + + cd Kivy-$pkgver + python setup.py install --prefix=/usr --root="$pkgdir" + install -Dm644 LICENSE
[arch-commits] Commit in cgrep/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 17:06:30 Author: felixonmars Revision: 355108 upgpkg: cgrep 6.6.25-46 rebuild with yaml 0.8.31.1 Modified: cgrep/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 17:06:29 UTC (rev 355107) +++ PKGBUILD2018-07-08 17:06:30 UTC (rev 355108) @@ -4,7 +4,7 @@ pkgname=cgrep pkgver=6.6.25 -pkgrel=45 +pkgrel=46 pkgdesc="A context-aware grep for source codes" url="http://awgn.github.io/cgrep/; license=("GPL2")
[arch-commits] Commit in pandoc/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:01:32 Author: felixonmars Revision: 354930 archrelease: copy trunk to community-staging-x86_64 Added: pandoc/repos/community-staging-x86_64/ pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 354929, pandoc/trunk/PKGBUILD) --+ PKGBUILD | 69 + 1 file changed, 69 insertions(+) Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 354929, pandoc/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:01:32 UTC (rev 354930) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=pandoc +pkgver=2.2.1 +pkgrel=62 +pkgdesc="Conversion between markup formats" +url="http://pandoc.org; +license=("GPL") +arch=('x86_64') +depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 'haskell-aeson' + 'haskell-aeson-pretty' 'haskell-base-compat' 'haskell-base64-bytestring' + 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cmark-gfm' + 'haskell-data-default' 'haskell-doctemplates' 'haskell-exceptions' 'haskell-glob' + 'haskell-haddock-library' 'haskell-skylighting' 'haskell-hslua' + 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 'haskell-http-client-tls' + 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath' + 'haskell-network' 'haskell-pandoc-types' 'haskell-random' + 'haskell-scientific' 'haskell-tagsoup' 'haskell-temporary' 'haskell-network-uri' + 'haskell-unordered-containers' 'haskell-zip-archive' 'haskell-vector' 'haskell-xml' + 'haskell-yaml' 'haskell-zlib') +optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc filter' +'pandoc-crossref: for numbering figures, equations, tables and cross-references to them with pandoc-crossref filter' +'texlive-core: for pdf output') +conflicts=('haskell-pandoc') +replaces=('haskell-pandoc') +makedepends=('ghc' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' + 'haskell-tasty-golden' 'haskell-quickcheck' 'haskell-executable-path') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz; + https://github.com/jgm/pandoc/commit/edcfbccf5dbef7d64b498376b457cc0e44fd275c.patch) +sha512sums=('84af51e180bcf8f0c11e67d8031d11a4b60c6061736a48c21e64bc30d0018a0161e3993167111584e384eced18632841b70027fdf29ed9e46427425096bb56b1' + '9e19d24d98a173622a00993c0a5b57f2a8e02f9c117572fa25863dba23fd25cd9d56ccddbf4213c608747c89b17f657f0f769c777d5c12dbb99532e3ab23dabe') + +prepare() { +cd "${srcdir}/$pkgname-${pkgver}" +patch -p1 -i ../edcfbccf5dbef7d64b498376b457cc0e44fd275c.patch + +# TODO: find a better solution +sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ [(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs +sed -i 's/<.*1.1/<2/' $pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-fnetwork-uri -f-trypandoc -f-embed_data_files -f-static +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd "${srcdir}/${pkgname}-${pkgver}" +LC_CTYPE=en_US.UTF-8 runhaskell Setup test +} + +package() { +cd "${srcdir}/${pkgbase}-${pkgver}" +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md" +}
[arch-commits] Commit in python-rednose/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:01:38 Author: foutrelis Revision: 354932 archrelease: copy trunk to community-staging-any Added: python-rednose/repos/community-staging-any/ python-rednose/repos/community-staging-any/PKGBUILD (from rev 354931, python-rednose/trunk/PKGBUILD) --+ PKGBUILD | 53 + 1 file changed, 53 insertions(+) Copied: python-rednose/repos/community-staging-any/PKGBUILD (from rev 354931, python-rednose/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:01:38 UTC (rev 354932) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-rednose +pkgname=(python-rednose python2-rednose) +pkgver=1.3.0 +pkgrel=2 +pkgdesc="Coloured output for nosetests" +url="https://github.com/JBKahn/rednose; +license=('MIT') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools' 'python-termstyle' 'python2-termstyle' + 'python-colorama' 'python2-colorama' 'python-nose' 'python2-nose') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/JBKahn/rednose/archive/$pkgver.tar.gz;) +sha512sums=('15a58e659a8b5a467eed095adfdb6d1c6e7f660b37290d6ab15795888e3ba099b6c299cfc1d6caa7e9f8ba71e4260e05c87b8c72d06103ba1ff9a3a3f455c325') + +prepare() { + sed -i 's/==1.10.0//' rednose-$pkgver/setup.py + cp -a rednose-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/rednose-$pkgver + python setup.py build + + cd "$srcdir"/rednose-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/rednose-$pkgver + python setup.py test + + cd "$srcdir"/rednose-$pkgver-py2 + # Stuck. https://github.com/JBKahn/rednose/issues/23 + # python2 setup.py test +} + +package_python-rednose() { + depends=('python-setuptools' 'python-termstyle' 'python-colorama' 'python-nose') + + cd rednose-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE +} + +package_python2-rednose() { + depends=('python2-setuptools' 'python2-termstyle' 'python2-colorama' 'python2-nose') + + cd rednose-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE +}
[arch-commits] Commit in sip/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 14:09:39 Author: arojas Revision: 328075 Python 3.7 rebuild Modified: sip/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 14:07:41 UTC (rev 328074) +++ PKGBUILD2018-07-08 14:09:39 UTC (rev 328075) @@ -7,7 +7,7 @@ pkgbase=sip pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') pkgver=4.19.12 -pkgrel=1 +pkgrel=2 arch=('x86_64') url='http://www.riverbankcomputing.com/software/sip/intro' license=('custom:"sip"')