public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-06-10  0:51 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-06-10  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     b0aa532afd2954423184d67f407a1e866613b0f2
Author:     Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Mon May 17 09:03:08 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 00:19:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0aa532a

dev-cpp/pystring: New package

Pystring is a collection of C++ functions which match the interface and
behavior of python's string class methods using std::string. Implemented
in C++, it does not require or make use of a python interpreter. It
provides convenience and familiarity for common string operations not
included in the standard C++ library. It's also useful in environments
where both C++ and python are used.

Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/Manifest              |  1 +
 dev-cpp/pystring/metadata.xml          | 15 ++++++++++++++
 dev-cpp/pystring/pystring-1.1.3.ebuild | 38 ++++++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/dev-cpp/pystring/Manifest b/dev-cpp/pystring/Manifest
new file mode 100644
index 00000000000..eb3773a17b3
--- /dev/null
+++ b/dev-cpp/pystring/Manifest
@@ -0,0 +1 @@
+DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6

diff --git a/dev-cpp/pystring/metadata.xml b/dev-cpp/pystring/metadata.xml
new file mode 100644
index 00000000000..1ce859e3e5b
--- /dev/null
+++ b/dev-cpp/pystring/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>darkdefende@gmail.com</email>
+		<name>Sebastian Parborg</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">imageworks/pystring</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-cpp/pystring/pystring-1.1.3.ebuild b/dev-cpp/pystring/pystring-1.1.3.ebuild
new file mode 100644
index 00000000000..78410abecfd
--- /dev/null
+++ b/dev-cpp/pystring/pystring-1.1.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="C++ functions matching the interface and behavior of python string methods"
+HOMEPAGE="https://github.com/imageworks/pystring"
+
+if [[ "${PV}" == "9999" ]];  then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
+else
+	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+BDEPEND="
+	virtual/libc
+	sys-devel/libtool
+"
+RESTRICT="mirror"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+
+src_compile() {
+	sed -i -e "s|-O3|${CXXFLAGS}|g" Makefile || die
+	emake LIBDIR="${S}" install
+
+	# Fix header location
+	mkdir ${S}/pystring || die
+	mv ${S}/pystring.h ${S}/pystring || die
+}
+
+src_install() {
+	dolib.so ${S}/libpystring.so{,.0{,.0.0}}
+	doheader -r ${S}/pystring
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-06-10 23:14 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-06-10 23:14 UTC (permalink / raw
  To: gentoo-commits

commit:     967a37b6637dded27b25ee2b7f32125436eaa002
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 23:10:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 23:14:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967a37b6

dev-cpp/pystring: fix licence to be BSD

Closes: https://bugs.gentoo.org/795297
Reported-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3.ebuild b/dev-cpp/pystring/pystring-1.1.3.ebuild
index 78410abecfd..65cd43ca763 100644
--- a/dev-cpp/pystring/pystring-1.1.3.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3.ebuild
@@ -20,7 +20,7 @@ BDEPEND="
 "
 RESTRICT="mirror"
 
-LICENSE="all-rights-reserved"
+LICENSE="BSD"
 SLOT="0"
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-09-19  3:09 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-09-19  3:09 UTC (permalink / raw
  To: gentoo-commits

commit:     b6f55afaba351581839fa1c849ba806effe0b7c1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:08:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:08:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6f55afa

dev-cpp/pystring: Keyword 1.1.3-r1 arm, #795279

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index e1ebd3a6db1..a3fbddefe91 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm64"
+	KEYWORDS="~amd64 ~arm ~arm64"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-09-19  3:09 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-09-19  3:09 UTC (permalink / raw
  To: gentoo-commits

commit:     afc9197081b8fb1baf01cc2c497ac15f5018d040
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:07:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:07:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc91970

dev-cpp/pystring: Keyword 1.1.3-r1 arm64, #795279

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index 808484d4a23..e1ebd3a6db1 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~arm64"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-09-19  3:09 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-09-19  3:09 UTC (permalink / raw
  To: gentoo-commits

commit:     a20cd1a6b6eabb5b9e06802c15a951a9c9d540a1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:08:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:08:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a20cd1a6

dev-cpp/pystring: Keyword 1.1.3-r1 x86, #795279

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index a3fbddefe91..ad23dfe5438 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64"
+	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-09-19  3:30 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-09-19  3:30 UTC (permalink / raw
  To: gentoo-commits

commit:     0f9690197b991b27e5ea2d1a8c97b3483a16ad8e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:29:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:29:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f969019

dev-cpp/pystring: Keyword 1.1.3-r1 ppc64, #795279

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index ad23dfe5438..cb58e2b9e1b 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2021-10-31  5:53 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-10-31  5:53 UTC (permalink / raw
  To: gentoo-commits

commit:     3a7e9663d43bf57840bd895230373c049d739c5d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 05:53:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 05:53:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7e9663

dev-cpp/pystring: Stabilize 1.1.3-r1 amd64, #803884

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index cb58e2b9e1b..2a716f8f1a5 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2022-02-28  7:06 Yixun Lan
  0 siblings, 0 replies; 10+ messages in thread
From: Yixun Lan @ 2022-02-28  7:06 UTC (permalink / raw
  To: gentoo-commits

commit:     14e4edabf8f41302170788f2d47a757ec47f5e61
Author:     Alex Fan <alex.fan.q <AT> gmail <DOT> com>
AuthorDate: Mon Feb 28 01:41:49 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Feb 28 07:02:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e4edab

dev-cpp/pystring: keyword 1.1.3-r1 for ~riscv

Signed-off-by: Alex Fan <alex.fan.q <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index 2a716f8f1a5e..4769adbf8de7 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2022-02-28 23:58 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-02-28 23:58 UTC (permalink / raw
  To: gentoo-commits

commit:     efd10a59beae038a80e4fa2a98042c86e315f64a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 28 23:56:58 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 28 23:56:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd10a59

dev-cpp/pystring: Stabilize 1.1.3-r1 x86, #833158

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index 4769adbf8de7..7256d7703bc2 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]];  then
 	EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
 else
 	SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 fi
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/
@ 2023-08-01 15:42 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2023-08-01 15:42 UTC (permalink / raw
  To: gentoo-commits

commit:     c3a740203495f37500b5f9b1b61ed1efc91ce3be
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  1 15:15:56 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug  1 15:42:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a74020

dev-cpp/pystring: drop unnecessary RESTRICT=mirror, cleanup BDEPEND

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/pystring/pystring-1.1.3-r1.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index 7256d7703bc2..f521e06ce11f 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,15 +16,11 @@ else
 	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 fi
 
-BDEPEND="
-	virtual/libc
-	sys-devel/libtool
-"
-RESTRICT="mirror"
-
 LICENSE="BSD"
 SLOT="0"
 
+BDEPEND="sys-devel/libtool"
+
 PATCHES=(
 	# Patch to convert the project into cmake. Taken from:
 	# https://github.com/imageworks/pystring/pull/29


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-08-01 15:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-19  3:09 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pystring/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-08-01 15:42 Sam James
2022-02-28 23:58 Sam James
2022-02-28  7:06 Yixun Lan
2021-10-31  5:53 Sam James
2021-09-19  3:30 Sam James
2021-09-19  3:09 Sam James
2021-09-19  3:09 Sam James
2021-06-10 23:14 Sam James
2021-06-10  0:51 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox