[arch-commits] Commit in python-xapian/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 10 13:37:33 UTC 2020


    Date: Tuesday, March 10, 2020 @ 13:37:33
  Author: felixonmars
Revision: 593599

archrelease: copy trunk to community-x86_64

Added:
  python-xapian/repos/community-x86_64/PKGBUILD
    (from rev 593598, python-xapian/trunk/PKGBUILD)
Deleted:
  python-xapian/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 13:37:17 UTC (rev 593598)
+++ PKGBUILD	2020-03-10 13:37:33 UTC (rev 593599)
@@ -1,64 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: David Runge <dave at sleepmap.de>
-# Contributor: DonVla <donvla/users.sourceforge/net>
-# Contributor: Hervé Cauwelier <herve/oursours/net>
-
-pkgbase=python-xapian
-pkgname=('python-xapian' 'python2-xapian')
-_realname=xapian-bindings
-pkgver=1.4.14
-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=("https://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz"{,.asc})
-sha512sums=('6d35c6c011c6d841254934f4dd59f4a2b842fe826af108e526cde9acbccec67b43517974331b21cbee5e828d0743aa5b9b973a96e1940065fbcfc342b8f23ead'
-            'SKIP')
-validpgpkeys=('08E2400FF7FE8FEDE3ACB52818147B073BAD2B07') # Olly Betts <olly at debian.org>
-
-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:

Copied: python-xapian/repos/community-x86_64/PKGBUILD (from rev 593598, python-xapian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-10 13:37:33 UTC (rev 593599)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Runge <dave at sleepmap.de>
+# Contributor: DonVla <donvla/users.sourceforge/net>
+# Contributor: Hervé Cauwelier <herve/oursours/net>
+
+pkgbase=python-xapian
+pkgname=('python-xapian' 'python2-xapian')
+_realname=xapian-bindings
+pkgver=1.4.15
+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=("https://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz"{,.asc})
+sha512sums=('dec8a0431c9070fc70d79b67bddc2e0adb10ef5366c4b9d7a135365ea6c6680d2e7682dbfd60c29eca51da48eaa0715509e30b13d5482d5a38bfd0d0156c43f9'
+            'SKIP')
+validpgpkeys=('08E2400FF7FE8FEDE3ACB52818147B073BAD2B07') # Olly Betts <olly at debian.org>
+
+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:



More information about the arch-commits mailing list