Date: Thursday, May 4, 2023 @ 01:43:31
Author: svenstaro
Revision: 1458706
archrelease: copy trunk to community-x86_64
Added:
pystring/repos/community-x86_64/PKGBUILD
(from rev 1458705, pystring/trunk/PKGBUILD)
pystring/repos/community-x86_64/makefile.patch
(from rev 1458705, pystring/trunk/makefile.patch)
Deleted:
pystring/repos/community-x86_64/PKGBUILD
pystring/repos/community-x86_64/makefile.patch
----------------+
PKGBUILD | 67 +++++++++++++++++++++++++++----------------------------
makefile.patch | 52 +++++++++++++++++++++---------------------
2 files changed, 59 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-04 01:43:25 UTC (rev 1458705)
+++ PKGBUILD 2023-05-04 01:43:31 UTC (rev 1458706)
@@ -1,34 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64
-d>
-# Contributor: Alexey Pavlov <[email protected]>
-
-pkgname=pystring
-pkgver=1.1.3.git1
-_commit=281419de2f91f9e0f2df6acddfea3b06a43436be
-pkgrel=1
-arch=('x86_64')
-pkgdesc="C++ functions matching the interface and behavior of python string
methods with std::string"
-url="https://github.com/imageworks/pystring"
-license=('BSD')
-depends=('gcc-libs')
-source=("https://github.com/imageworks/pystring/archive/$_commit.tar.gz"
- "makefile.patch")
-sha512sums=('e7ee1bf8a37c7f453a2dd324524a0fede9ab4448dea4ad7b2774ce44c14605dc106fea9a629344db5d5da86be9ef923e8ddf904bf8b5fffabc36b4140f1cb433'
-
'dc5f94cc062023d138ab9cab92081323c576b9e03d853b615981f2bc89dd5de96bd9a19c420bbd23eac5248b7949b337fe858622aae0751fbc0b16f59db77fdd')
-
-prepare() {
- cd $pkgname-$_commit
- patch -p1 -i "$srcdir/makefile.patch"
-}
-
-build() {
- cd $pkgname-$_commit
- make
-}
-
-package() {
- cd $pkgname-$_commit
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir/$pkgname-$_commit/LICENSE"
"$pkgdir/usr/share/licenses/$pkgname"/LICENSE
-}
Copied: pystring/repos/community-x86_64/PKGBUILD (from rev 1458705,
pystring/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-04 01:43:31 UTC (rev 1458706)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64
-d>
+# Contributor: Alexey Pavlov <[email protected]>
+
+pkgname=pystring
+pkgver=1.1.4
+pkgrel=1
+arch=('x86_64')
+pkgdesc="C++ functions matching the interface and behavior of python string
methods with std::string"
+url="https://github.com/imageworks/pystring"
+license=('BSD')
+depends=('gcc-libs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/imageworks/pystring/archive/v$pkgver.tar.gz"
+
"$pkgname-fix-makefile.patch::https://github.com/imageworks/pystring/pull/42.patch")
+sha512sums=('9c0460fea67885492f9b0d29a9ba312d960fd5e43577cdcfd47faf04397ff4b7e456ed68f1948b923d2f63f9922d576b93e4ca1a27376bcb6d29c683828acb01'
+
'2e8dea3c0e3a90fbb1ae4891e2aa59f10996825b10daf90476fec8c205e36f575ef9bec897ef5126fab957ca081f7b9cf1cd04e4ebdb3636496fb38b978f560c')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i "$srcdir/$pkgname-fix-makefile.patch"
+}
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ DESTDIR="$pkgdir" make install
+
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE"
"$pkgdir/usr/share/licenses/$pkgname"/LICENSE
+}
Deleted: makefile.patch
===================================================================
--- makefile.patch 2023-05-04 01:43:25 UTC (rev 1458705)
+++ makefile.patch 2023-05-04 01:43:31 UTC (rev 1458706)
@@ -1,26 +0,0 @@
---- pystring/Makefile.orig 2020-02-04 03:24:44.000000000 -0300
-+++ pystring/Makefile 2020-11-20 20:23:07.314247959 -0300
-@@ -1,7 +1,9 @@
--LIBTOOL = libtool
--LIBDIR = /usr/lib
--CXX = g++
--CXXFLAGS = -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
-+LIBTOOL ?= libtool
-+PREFIX ?= /usr
-+INCLUDEDIR = ${PREFIX}/include/pystring
-+LIBDIR = ${PREFIX}/lib
-+CXX ?= g++
-+CXXFLAGS ?= -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
-fPIC
-
- all: libpystring.la
-
-@@ -12,7 +14,8 @@
- $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR)
-
- install: libpystring.la
-- $(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$<
-+ $(LIBTOOL) --mode=install install -Dm755 $< $(DESTDIR)$(LIBDIR)/$<
-+ $(LIBTOOL) --mode=install install -Dm644 pystring.h
$(DESTDIR)$(INCLUDEDIR)/pystring.h
-
- clean:
- $(RM) -fr pystring.lo pystring.o libpystring.la .libs
Copied: pystring/repos/community-x86_64/makefile.patch (from rev 1458705,
pystring/trunk/makefile.patch)
===================================================================
--- makefile.patch (rev 0)
+++ makefile.patch 2023-05-04 01:43:31 UTC (rev 1458706)
@@ -0,0 +1,26 @@
+--- pystring/Makefile.orig 2020-02-04 03:24:44.000000000 -0300
++++ pystring/Makefile 2020-11-20 20:23:07.314247959 -0300
+@@ -1,7 +1,9 @@
+-LIBTOOL = libtool
+-LIBDIR = /usr/lib
+-CXX = g++
+-CXXFLAGS = -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
++LIBTOOL ?= libtool
++PREFIX ?= /usr
++INCLUDEDIR = ${PREFIX}/include/pystring
++LIBDIR = ${PREFIX}/lib
++CXX ?= g++
++CXXFLAGS ?= -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
-fPIC
+
+ all: libpystring.la
+
+@@ -12,7 +14,8 @@
+ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR)
+
+ install: libpystring.la
+- $(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$<
++ $(LIBTOOL) --mode=install install -Dm755 $< $(DESTDIR)$(LIBDIR)/$<
++ $(LIBTOOL) --mode=install install -Dm644 pystring.h
$(DESTDIR)$(INCLUDEDIR)/pystring.h
+
+ clean:
+ $(RM) -fr pystring.lo pystring.o libpystring.la .libs