[arch-commits] Commit in python-xapian/repos (2 files)
Date: Monday, November 9, 2020 @ 17:20:49 Author: foutrelis Revision: 747870 archrelease: copy trunk to community-staging-x86_64 Added: python-xapian/repos/community-staging-x86_64/ python-xapian/repos/community-staging-x86_64/PKGBUILD (from rev 747869, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: python-xapian/repos/community-staging-x86_64/PKGBUILD (from rev 747869, python-xapian/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-09 17:20:49 UTC (rev 747870) @@ -0,0 +1,48 @@ +# Maintainer: David Runge +# Contributor: Felix Yan +# Contributor: DonVla +# Contributor: Hervé Cauwelier + +pkgname=python-xapian +_name=xapian-bindings +pkgver=1.4.17 +pkgrel=2 +epoch=1 +pkgdesc="Python bindings for Xapian" +arch=('x86_64') +url="https://xapian.org/docs/bindings/python/"; +license=('GPL2') +depends=('gcc-libs' 'glibc' 'python' 'zlib') +makedepends=('util-linux-libs' 'python-sphinx' "xapian-core=$epoch:$pkgver") +source=("https://oligarchy.co.uk/xapian/${pkgver}/${_name}-${pkgver}.tar.xz"{,.asc}) +sha512sums=('9cfd9809b8b13d47a7b50950c19b821d4ae902611eed3972d93cccda82d07d5858e37989bb9de31ede082c2574487e0bcd8c1e5f30f1479d47f4c28200ff76e7' +'SKIP') +b2sums=('8c45322725c341f6e6484e0aa8716798aa5b31e5bbc795d0f5c631022c69e96f472b3fd76609116a196431e5b069a710c3ebbfc989de8fb57d5e2d081008b89c' +'SKIP') +validpgpkeys=('08E2400FF7FE8FEDE3ACB52818147B073BAD2B07') # Olly Betts + +prepare() { + cd "${_name}-${pkgver}" + autoreconf -vfi +} + +build() { + cd "${_name}-${pkgver}" + ./configure --prefix=/usr \ + --with-python3 + make +} + +check() { + cd "${_name}-${pkgver}" + make check +} + +package() { + depends+=('libuuid.so' 'libxapian.so') + cd "${_name}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -vDm 644 {AUTHORS,ChangeLog,HACKING,NEWS,README,TODO} \ +-t "${pkgdir}/usr/share/doc/${_name}" +} +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-xapian/repos (2 files)
Date: Monday, November 4, 2019 @ 09:21:48 Author: felixonmars Revision: 523866 archrelease: copy trunk to community-staging-x86_64 Added: python-xapian/repos/community-staging-x86_64/ python-xapian/repos/community-staging-x86_64/PKGBUILD (from rev 523865, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: python-xapian/repos/community-staging-x86_64/PKGBUILD (from rev 523865, python-xapian/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-04 09:21:48 UTC (rev 523866) @@ -0,0 +1,64 @@ +# 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.13 +epoch=1 +pkgrel=2 +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=("https://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz"{,.asc}) +sha512sums=('20f5f8842e401ba1c1407f336d1a03fa8bc6faa1fcc9533bad1772644ad3ae878a51f10c2f7810f89e3f14683a73c0c089601af548cdf3fbe7feeead4d2d21d9' +'SKIP') +validpgpkeys=('08E2400FF7FE8FEDE3ACB52818147B073BAD2B07') # Olly Betts + +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 python-xapian/repos (2 files)
Date: Thursday, November 8, 2018 @ 13:14:58 Author: felixonmars Revision: 404039 archrelease: copy trunk to community-testing-x86_64 Added: python-xapian/repos/community-testing-x86_64/ python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 404038, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 62 + 1 file changed, 62 insertions(+) Copied: python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 404038, python-xapian/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-11-08 13:14:58 UTC (rev 404039) @@ -0,0 +1,62 @@ +# 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.9 +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=('cddc6cedfd571d565619ade0a4c9bfee8d688ca3d06d77368c8d673d3c9d1296b652122836debc84a4d54724c2bf0639a009396bf587ed4b8901a6bfe508851d') + +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 python-xapian/repos (2 files)
Date: Sunday, October 28, 2018 @ 20:45:36 Author: felixonmars Revision: 399341 archrelease: copy trunk to community-testing-x86_64 Added: python-xapian/repos/community-testing-x86_64/ python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 399340, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 62 + 1 file changed, 62 insertions(+) Copied: python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 399340, python-xapian/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-10-28 20:45:36 UTC (rev 399341) @@ -0,0 +1,62 @@ +# 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.8 +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=('f979c32b096ecdc7a71b2bd032c6d0e7131f3d304e47e44005989ca79ea1f940c39626c60a8e52ff3cdb2cb380aa5ddf82a99bae08e06629c0bd47d8e0bfa7cc') + +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 python-xapian/repos (2 files)
Date: Tuesday, August 14, 2018 @ 07:47:55 Author: felixonmars Revision: 371360 archrelease: copy trunk to community-testing-x86_64 Added: python-xapian/repos/community-testing-x86_64/ python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 371358, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 371358, python-xapian/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-08-14 07:47:55 UTC (rev 371360) @@ -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.7 +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=('c904cd3abf19d68495b0487ea77265fdc92a3cd8b1c2437b89034efd349ce41198bbc4abca49f259f71a1ba0fd269b2cf9b6dd4c1607678a73cbed4de9c5a1d5') + +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 python-xapian/repos (2 files)
Date: Monday, February 5, 2018 @ 22:19:44 Author: dvzrv Revision: 289305 archrelease: copy trunk to community-testing-x86_64 Added: python-xapian/repos/community-testing-x86_64/ python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 289304, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 289304, python-xapian/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-02-05 22:19:44 UTC (rev 289305) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: DonVla +# Contributor: Hervé Cauwelier + +pkgbase=python-xapian +pkgname=('python-xapian' 'python2-xapian') +_realname=xapian-bindings +pkgver=1.4.5 +epoch=1 +pkgrel=2 +pkgdesc="Python bindings for Xapian" +arch=('x86_64') +url="http://xapian.org/docs/bindings/python/"; +license=('GPL') +makedepends=('python-sphinx' 'python2-sphinx' "xapian-core=$epoch:$pkgver") +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz";) +sha512sums=('e39ece495e25077990db3d06554306567c52c6f45ad55a65005cb97e18086ee18947e41d0d612157b891b61e015881385bcb082a03aa0c6452565e90d09e8275') + +prepare() { + 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 +} + +build() { + cd "${pkgname[0]}-${pkgver}" + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ +--prefix=/usr --with-python3 + make + cd ../"${pkgname[1]}-${pkgver}" + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ +--prefix=/usr --with-python \ +PYTHON=/usr/bin/python2 + make +} + +package_python-xapian() { + depends=('python' "xapian-core=$epoch:$pkgver") + cd "${pkgname[0]}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +package_python2-xapian() { + depends=('python2' "xapian-core=$epoch:$pkgver") + cd "${pkgname[1]}-${pkgver}" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-xapian/repos (2 files)
Date: Wednesday, January 3, 2018 @ 17:51:06 Author: felixonmars Revision: 278344 archrelease: copy trunk to community-testing-x86_64 Added: python-xapian/repos/community-testing-x86_64/ python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 278343, python-xapian/trunk/PKGBUILD) --+ PKGBUILD | 35 +++ 1 file changed, 35 insertions(+) Copied: python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 278343, python-xapian/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-01-03 17:51:06 UTC (rev 278344) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: DonVla +# Contributor: Hervé Cauwelier + +pkgbase=python-xapian +pkgname=('python2-xapian') +_realname=xapian-bindings +pkgver=1.4.5 +epoch=1 +pkgrel=1 +pkgdesc="Python bindings for Xapian" +arch=('x86_64') +url="http://xapian.org/docs/bindings/python/"; +license=('GPL') +makedepends=('python2-sphinx' "xapian-core=$epoch:$pkgver") +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz";) +sha512sums=('e39ece495e25077990db3d06554306567c52c6f45ad55a65005cb97e18086ee18947e41d0d612157b891b61e015881385bcb082a03aa0c6452565e90d09e8275') + +build() { + cd "$srcdir/${_realname}-$pkgver" + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ +--prefix=/usr --with-python \ +PYTHON=/usr/bin/python2 + make +} + +package_python2-xapian() { + depends=('python2' "xapian-core=$epoch:$pkgver") + + cd ${_realname}-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: