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

Felix Yan felixonmars at archlinux.org
Mon Aug 12 08:40:58 UTC 2019


    Date: Monday, August 12, 2019 @ 08:40:58
  Author: felixonmars
Revision: 498997

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-12 08:40:46 UTC (rev 498996)
+++ PKGBUILD	2019-08-12 08:40:58 UTC (rev 498997)
@@ -1,62 +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.11
-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=('326b08b9959143b92e6c10bd9b6b107ce2779e6ef1a3b5570abd07802a5988dd7df4e890d820f7da355f9f9e64df9a3ae08a0664d70d10ba6f876fca3dc44ecd')
-
-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 498996, python-xapian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-12 08:40:58 UTC (rev 498997)
@@ -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.12
+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=('08190a70fe2548be50d82192f94158fd5d6839534b5ba7e0fdbcec7e99df29f0be6517603e7a66a474dffef94ea6bd2e6b7a3315717056687c6a205c25908b45'
+            '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