[arch-commits] Commit in libpst/repos/extra-x86_64 (4 files)

Jan Steffens heftig at gemini.archlinux.org
Fri Apr 1 19:36:45 UTC 2022


    Date: Friday, April 1, 2022 @ 19:36:45
  Author: heftig
Revision: 441199

archrelease: copy trunk to extra-x86_64

Added:
  libpst/repos/extra-x86_64/PKGBUILD
    (from rev 441198, libpst/trunk/PKGBUILD)
  libpst/repos/extra-x86_64/python310.patch
    (from rev 441198, libpst/trunk/python310.patch)
Deleted:
  libpst/repos/extra-x86_64/PKGBUILD
  libpst/repos/extra-x86_64/python310.patch

-----------------+
 PKGBUILD        |  108 +++++++++++++++++++++++++-----------------------------
 python310.patch |   24 ++++++------
 2 files changed, 62 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-01 19:36:33 UTC (rev 441198)
+++ PKGBUILD	2022-04-01 19:36:45 UTC (rev 441199)
@@ -1,58 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=libpst
-pkgname=(libpst libpst-docs)
-pkgver=0.6.76
-pkgrel=5
-pkgdesc="Outlook .pst file converter"
-url="https://www.five-ten-sg.com/libpst/"
-arch=(x86_64)
-license=(GPL)
-depends=(gcc-libs libgsf)
-makedepends=(python boost)
-source=(https://www.five-ten-sg.com/libpst/packages/${pkgbase}-${pkgver}.tar.gz
-        python310.patch)
-sha256sums=('3d291beebbdb48d2b934608bc06195b641da63d2a8f5e0d386f2e9d6d05a0b42'
-            '8bd2cf189719fa98831b26b28ed68098a82fe6f31a1e23d8576faa27fc4e819f')
-
-prepare() {
-  cd $pkgbase-$pkgver
-  patch -Np1 -i ../python310.patch
-}
-
-build() {
-  cd $pkgbase-$pkgver
-  ./configure --prefix=/usr --mandir=/usr/share/man \
-      --disable-static --enable-libpst-shared --disable-dii
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-package_libpst() {
-  optdepends=('boost-libs: for libpst python interface')
-  provides=(libpst.so)
-
-  cd $pkgbase-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  cd "$pkgdir"
-
-  _pick docs usr/share/doc
-}
-
-package_libpst-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-  mv docs/* "$pkgdir"
-}

Copied: libpst/repos/extra-x86_64/PKGBUILD (from rev 441198, libpst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-01 19:36:45 UTC (rev 441199)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=libpst
+pkgname=(libpst libpst-docs)
+pkgver=0.6.76
+pkgrel=6
+pkgdesc="Outlook .pst file converter"
+url="https://www.five-ten-sg.com/libpst/"
+arch=(x86_64)
+license=(GPL)
+depends=(gcc-libs libgsf)
+makedepends=(python boost)
+options=(debug)
+source=(https://www.five-ten-sg.com/libpst/packages/${pkgbase}-${pkgver}.tar.gz
+        python310.patch)
+sha256sums=('3d291beebbdb48d2b934608bc06195b641da63d2a8f5e0d386f2e9d6d05a0b42'
+            '8bd2cf189719fa98831b26b28ed68098a82fe6f31a1e23d8576faa27fc4e819f')
+
+prepare() {
+  cd $pkgbase-$pkgver
+  patch -Np1 -i ../python310.patch
+}
+
+build() {
+  cd $pkgbase-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+      --disable-static --enable-libpst-shared --disable-dii
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_libpst() {
+  optdepends=('boost-libs: for libpst python interface')
+  provides=(libpst.so)
+
+  make -C $pkgbase-$pkgver DESTDIR="$pkgdir" install
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
+}
+
+package_libpst-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 et:

Deleted: python310.patch
===================================================================
--- python310.patch	2022-04-01 19:36:33 UTC (rev 441198)
+++ python310.patch	2022-04-01 19:36:45 UTC (rev 441199)
@@ -1,12 +0,0 @@
-diff -upr libpst-0.6.76.orig/configure libpst-0.6.76/configure
---- libpst-0.6.76.orig/configure	2021-03-28 02:08:10.000000000 +0200
-+++ libpst-0.6.76/configure	2021-12-03 16:24:53.025153596 +0200
-@@ -24672,7 +24672,7 @@ if test "$enable_python" = "yes"; then
- $as_echo_n "checking for python build information... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
- $as_echo "" >&6; }
--for python in python3.9 python3.8 python3.7 python3.6 python3.5 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
-+for python in python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
- for ac_prog in $python
- do
-   # Extract the first word of "$ac_prog", so it can be a program name with args.

Copied: libpst/repos/extra-x86_64/python310.patch (from rev 441198, libpst/trunk/python310.patch)
===================================================================
--- python310.patch	                        (rev 0)
+++ python310.patch	2022-04-01 19:36:45 UTC (rev 441199)
@@ -0,0 +1,12 @@
+diff -upr libpst-0.6.76.orig/configure libpst-0.6.76/configure
+--- libpst-0.6.76.orig/configure	2021-03-28 02:08:10.000000000 +0200
++++ libpst-0.6.76/configure	2021-12-03 16:24:53.025153596 +0200
+@@ -24672,7 +24672,7 @@ if test "$enable_python" = "yes"; then
+ $as_echo_n "checking for python build information... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
+ $as_echo "" >&6; }
+-for python in python3.9 python3.8 python3.7 python3.6 python3.5 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
++for python in python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
+ for ac_prog in $python
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.



More information about the arch-commits mailing list