public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2020-04-19 16:48 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2020-04-19 16:48 UTC (permalink / raw
  To: gentoo-commits

commit:     baccbd0f3a79a5d637a407d0124cc98d2c1be8c3
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sun Apr 19 16:47:02 2020 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Sun Apr 19 16:47:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baccbd0f

dev-libs/StringiFor: add maintainer

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/StringiFor/metadata.xml b/dev-libs/StringiFor/metadata.xml
index e2af026..e42b702 100644
--- a/dev-libs/StringiFor/metadata.xml
+++ b/dev-libs/StringiFor/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer needed -->
+<maintainer type="person">
+	<email>torokhov-s-a@yandex.ru</email>
+	<name>Sergey Torokhov</name>
+</maintainer>
 <longdescription>
 	A KISS pure Fortran library providing astrings (class) manipulator for modern (2003+) Fortran projects
 </longdescription>


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2020-04-21 12:35 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2020-04-21 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     a725a13101ab80436245817a4e4471c6e796f3b0
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Tue Apr 21 12:30:27 2020 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Tue Apr 21 12:35:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a725a131

dev-libs/StringiFor: remove check if FFLAGS is empty

Because the FFLAGS is presented by default in profile [1]
the check "if FFLAGS is empty" is removed.

[1] https://bugs.gentoo.org/575446

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
index 0147bfa..4bd3e38 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
@@ -67,9 +67,7 @@ src_prepare() {
 	mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF
 	default
 
-	if [ "${FFLAGS}" ] ; then
-		sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' fobos || die
-	fi
+	sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' fobos || die
 }
 
 src_compile() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2020-04-25 20:07 Alessandro Barbieri
  0 siblings, 0 replies; 11+ messages in thread
From: Alessandro Barbieri @ 2020-04-25 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     4297c3af8dc30a457c667231eec7368a926a6ce8
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 20:07:00 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 20:07:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4297c3af

dev-libs/StringiFor:  lang="en"

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-libs/StringiFor/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/StringiFor/metadata.xml b/dev-libs/StringiFor/metadata.xml
index e42b702..9800c52 100644
--- a/dev-libs/StringiFor/metadata.xml
+++ b/dev-libs/StringiFor/metadata.xml
@@ -5,7 +5,7 @@
 	<email>torokhov-s-a@yandex.ru</email>
 	<name>Sergey Torokhov</name>
 </maintainer>
-<longdescription>
+<longdescription lang="en">
 	A KISS pure Fortran library providing astrings (class) manipulator for modern (2003+) Fortran projects
 </longdescription>
 	<upstream>


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2021-04-22  6:45 Andrew Ammerlaan
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2021-04-22  6:45 UTC (permalink / raw
  To: gentoo-commits

commit:     04597bc97614764b93a267628d0210043c91cae0
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Apr 22 06:44:53 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 22 06:44:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04597bc9

dev-libs/StringiFor: add missing deps

Closes: https://bugs.gentoo.org/784935
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-libs/StringiFor/StringiFor-1.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
index 4bd3e3887..8b223574e 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,6 +35,7 @@ IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 
 DEPEND="dev-util/FoBiS"
+BDEPEND="virtual/fortran"
 
 PATCHES=(
 	"${FILESDIR}/stringifor-1.1.1_fobos_soname.patch"


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2021-04-24  9:39 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2021-04-24  9:39 UTC (permalink / raw
  To: gentoo-commits

commit:     709970547b89e4f52d32818b6835f649b721a87d
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sat Apr 24 09:37:38 2021 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Sat Apr 24 09:37:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70997054

dev-libs/StringiFor: fix call gfortran directly, pass system LDFLAGS

Closes: https://bugs.gentoo.org/784935
Closes: https://bugs.gentoo.org/780942

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.1.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
index 8b223574e..65350be77 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
@@ -34,8 +34,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 
-DEPEND="dev-util/FoBiS"
-BDEPEND="virtual/fortran"
+BDEPEND="dev-util/FoBiS"
 
 PATCHES=(
 	"${FILESDIR}/stringifor-1.1.1_fobos_soname.patch"
@@ -48,7 +47,7 @@ set_build_mode() {
 			BUILD_MODE_SHARED="-mode stringifor-shared-gnu"
 			BUILD_MODE_STATIC="-mode stringifor-static-gnu"
 			BUILD_MODE_TESTS="-mode tests-gnu" ;;
-		ifort )
+		*ifort* )
 			BUILD_MODE_SHARED="-mode stringifor-shared-intel"
 			BUILD_MODE_STATIC="-mode stringifor-static-intel"
 			BUILD_MODE_TESTS="-mode tests-intel" ;;
@@ -68,16 +67,17 @@ src_prepare() {
 	mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF
 	default
 
-	sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' fobos || die
+	sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' \
+		-e '/^\$LSHARED/s:$: '"${LDFLAGS}"':' fobos || die
 }
 
 src_compile() {
-	FoBiS.py build -verbose ${BUILD_MODE_SHARED}
-	use static-libs && FoBiS.py build -verbose ${BUILD_MODE_STATIC}
+	FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_SHARED}
+	use static-libs && FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_STATIC}
 }
 
 src_test() {
-	FoBiS.py build ${BUILD_MODE_TESTS}
+	FoBiS.py build -compiler custom -fc $(tc-getFC) ${BUILD_MODE_TESTS}
 	for e in $( find ./exe/ -type f -executable -print ); do
 		if [ "$e" != "./exe/stringifor_test_parse_large_csv" ] ; then
 			echo "  run test $e :" && $e


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2021-09-10 11:26 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2021-09-10 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     3697e41d192b7638b1c0fe004fb69124f19d0002
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri Sep 10 11:23:34 2021 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Fri Sep 10 11:23:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3697e41d

dev-libs/StringiFor: Fix BDEPEND python implementation. Add '|| die'.

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.1.ebuild | 32 +++++++++++++++++------------
 dev-libs/StringiFor/StringiFor-1.1.3.ebuild | 30 ++++++++++++++++-----------
 2 files changed, 37 insertions(+), 25 deletions(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
index 65350be77..2239e9843 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
@@ -4,8 +4,9 @@
 EAPI=7
 
 FORTRAN_STANDARD=2003
+PYTHON_COMPAT=( python3_{8..10} )
 
-inherit  fortran-2 toolchain-funcs
+inherit  fortran-2 python-any-r1 toolchain-funcs
 
 # Unfortunately the releases don't have appropriate release-tags
 # so there commits sha-1 checksum are used
@@ -18,9 +19,9 @@ DESCRIPTION="StringiFor, Strings Fortran Manipulator, yet another strings Fortra
 HOMEPAGE="https://github.com/szaghi/StringiFor"
 SRC_URI="
 	https://github.com/szaghi/${PN}/archive/"${StringiFor_sha}".tar.gz -> ${P}.tar.gz
+	https://github.com/szaghi/BeFoR64/archive/"${BeFoR64_sha}".tar.gz -> BeFoR64-1.1.4.tar.gz
 	https://github.com/szaghi/FACE/archive/"${FACE_sha}".tar.gz -> FACE-1.1.2.tar.gz
 	https://github.com/szaghi/PENF/archive/"${PENF_sha}".tar.gz -> PENF-1.2.2.tar.gz
-	https://github.com/szaghi/BeFoR64/archive/"${BeFoR64_sha}".tar.gz -> BeFoR64-1.1.4.tar.gz
 "
 
 S="${WORKDIR}/${PN}-${StringiFor_sha}"
@@ -34,7 +35,12 @@ KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="dev-util/FoBiS"
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_any_dep '
+		dev-util/FoBiS[${PYTHON_USEDEP}]
+	')
+"
 
 PATCHES=(
 	"${FILESDIR}/stringifor-1.1.1_fobos_soname.patch"
@@ -62,9 +68,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-	mv -T "${WORKDIR}"/BeFoR64-"${BeFoR64_sha}" "${S}"/src/third_party/BeFoR64
-	mv -T "${WORKDIR}"/FACE-"${FACE_sha}" "${S}"/src/third_party/FACE
-	mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF
+	mv -T "${WORKDIR}"/BeFoR64-"${BeFoR64_sha}" "${S}"/src/third_party/BeFoR64 || die
+	mv -T "${WORKDIR}"/FACE-"${FACE_sha}" "${S}"/src/third_party/FACE || die
+	mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF || die
 	default
 
 	sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' \
@@ -72,27 +78,27 @@ src_prepare() {
 }
 
 src_compile() {
-	FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_SHARED}
-	use static-libs && FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_STATIC}
+	${EPYTHON} FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_SHARED} || die
+	use static-libs && { ${EPYTHON} FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_STATIC} || die; }
 }
 
 src_test() {
-	FoBiS.py build -compiler custom -fc $(tc-getFC) ${BUILD_MODE_TESTS}
+	${EPYTHON} FoBiS.py build -compiler custom -fc $(tc-getFC) ${BUILD_MODE_TESTS} || die
 	for e in $( find ./exe/ -type f -executable -print ); do
 		if [ "$e" != "./exe/stringifor_test_parse_large_csv" ] ; then
-			echo "  run test $e :" && $e
+			echo "  run test $e :" && { $e || die; }
 		else
 			# The output of this test is too huge so it's cutted here
-			echo "  run test $e :" && $e | tail -n 10
+			echo "  run test $e :" && { $e | tail -n 10 || die; }
 		fi
 	done
 }
 
 src_install() {
-	mv lib/mod lib/stringifor
+	mv lib/mod lib/stringifor || die
 	doheader -r lib/stringifor/
 
-	mv lib/libstringifor.so{,.1}
+	mv lib/libstringifor.so{,.1} || die
 	dosym libstringifor.so.1 /usr/$(get_libdir)/libstringifor.so
 	dolib.so lib/libstringifor.so.1
 

diff --git a/dev-libs/StringiFor/StringiFor-1.1.3.ebuild b/dev-libs/StringiFor/StringiFor-1.1.3.ebuild
index 074ba8377..6bd69ccfa 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.3.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.3.ebuild
@@ -4,8 +4,9 @@
 EAPI=7
 
 FORTRAN_STANDARD=2003
+PYTHON_COMPAT=( python3_{8..10} )
 
-inherit  fortran-2 toolchain-funcs
+inherit  fortran-2 python-any-r1 toolchain-funcs
 
 # Unfortunately the releases don't have appropriate release-tags
 # so there commits sha-1 checksum are used
@@ -34,7 +35,12 @@ KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="dev-util/FoBiS"
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_any_dep '
+		dev-util/FoBiS[${PYTHON_USEDEP}]
+	')
+"
 
 PATCHES=(
 	"${FILESDIR}/stringifor-1.1.1_fobos_soname.patch"
@@ -62,9 +68,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-	mv -T "${WORKDIR}"/BeFoR64-"${BeFoR64_sha}" "${S}"/src/third_party/BeFoR64
-	mv -T "${WORKDIR}"/FACE-"${FACE_sha}" "${S}"/src/third_party/FACE
-	mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF
+	mv -T "${WORKDIR}"/BeFoR64-"${BeFoR64_sha}" "${S}"/src/third_party/BeFoR64 || die
+	mv -T "${WORKDIR}"/FACE-"${FACE_sha}" "${S}"/src/third_party/FACE || die
+	mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF || die
 	default
 
 	sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' \
@@ -72,27 +78,27 @@ src_prepare() {
 }
 
 src_compile() {
-	FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_SHARED}
-	use static-libs && FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_STATIC}
+	${EPYTHON} FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_SHARED} || die
+	use static-libs && { ${EPYTHON} FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_STATIC} || die; }
 }
 
 src_test() {
-	FoBiS.py build -compiler custom -fc $(tc-getFC) ${BUILD_MODE_TESTS}
+	${EPYTHON} FoBiS.py build -compiler custom -fc $(tc-getFC) ${BUILD_MODE_TESTS} || die
 	for e in $( find ./exe/ -type f -executable -print ); do
 		if [ "$e" != "./exe/stringifor_test_parse_large_csv" ] ; then
-			echo "  run test $e :" && $e
+			echo "  run test $e :" && { $e || die; }
 		else
 			# The output of this test is too huge so it's cutted here
-			echo "  run test $e :" && $e | tail -n 10
+			echo "  run test $e :" && { $e | tail -n 10 || die; }
 		fi
 	done
 }
 
 src_install() {
-	mv lib/mod lib/stringifor
+	mv lib/mod lib/stringifor || die
 	doheader -r lib/stringifor/
 
-	mv lib/libstringifor.so{,.1}
+	mv lib/libstringifor.so{,.1} || die
 	dosym libstringifor.so.1 /usr/$(get_libdir)/libstringifor.so
 	dolib.so lib/libstringifor.so.1
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2022-10-13 15:57 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2022-10-13 15:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ae073fb36c5f180fe130943f3d10d29b5df80ea7
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Thu Oct 13 15:57:01 2022 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Thu Oct 13 15:57:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae073fb3

dev-libs/StringiFor: 1.1.4 version bump

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/Manifest                |  1 +
 dev-libs/StringiFor/StringiFor-1.1.4.ebuild | 91 +++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-libs/StringiFor/Manifest b/dev-libs/StringiFor/Manifest
index 069adca0f..37b488fba 100644
--- a/dev-libs/StringiFor/Manifest
+++ b/dev-libs/StringiFor/Manifest
@@ -6,3 +6,4 @@ DIST PENF-1.2.2.tar.gz 143245 BLAKE2B d59353195c7502514091ad0a4dae42d9c3d5e8b383
 DIST PENF-1.2.2_p20201012.tar.gz 142299 BLAKE2B 253697c67c62ffc4f7b32375a1451913b178dbf3d79f0c7eab76a14c9f6969df65ce8b9422c0851a819065a979d0935724bc3121a48fb40a1c963880c375670d SHA512 14b6246c0e6c8f4a4602bac22c1d8f6fd89ca174c7a6539d5da97c0bbe4049891117b0a469e72472ca5dbac44b613b806ed050a41a357b96cf939a525e3cb307
 DIST StringiFor-1.1.1.tar.gz 80098 BLAKE2B d42774323703550355b90ce706e62356a30cb4a27a37622841c28bbff9f9504ce7da8997222f6a0bb1e5ec56894ffdd679dc1a5b2a8f8bb353580491554fbce7 SHA512 14639dbb62e2b1ccb9cdb3c8100da7da8ff7d2a06d304bce2a9e8574e52adbd2f589f0017498ce7489f4977acdc99cfc889a5a752bc8efd58da41cea104c0712
 DIST StringiFor-1.1.3.tar.gz 83606 BLAKE2B 5cd00941d2ac8c7fbe501e7fed0747f8c4ae5f61edf336a86ea89f9fd500ee016e97664ca0bbcdbcfd4c007c203fdc4fbbdbef617c0d0d115b5a96dd89b98fbf SHA512 d1a1a7848cec657544ec4fab5517cb19fbf2b8655500c86d2b4dd0fc6bdb143c4929770b0e61c7e2d9c7b5660ca8e7e6cf283bb4744d17ca252cc8e71a08c163
+DIST StringiFor-1.1.4.tar.gz 571734 BLAKE2B 2f830b266fbe9022a41f23f4abc13062bb581fe103a5348305050d46cf575a96a4c1998cb99ea68745209b54bc4862d52aef9c724c41d8341ff5ec7a5a8ef994 SHA512 3176a0eacdc8cfc1049373bd3313c64b8f7744d430f05b2aba4768311145e509ac1783152061da3e10af3dff9fa949da7e2554c2f8ad6a648d51eacbef007d30

diff --git a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
new file mode 100644
index 000000000..6b250c9b5
--- /dev/null
+++ b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_STANDARD=2003
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit  fortran-2 python-any-r1 toolchain-funcs
+
+DESCRIPTION="StringiFor, Strings Fortran Manipulator, yet another strings Fortran module"
+HOMEPAGE="https://github.com/szaghi/StringiFor"
+SRC_URI="https://github.com/szaghi/StringiFor/releases/download/v${PV}/StringiFor.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}"
+
+# For FOSS projects: GPL-3
+# For closed source/commercial projects: BSD 2-Clause, BSD 3-Clause, MIT
+LICENSE="GPL-3 BSD-2 BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_any_dep '
+		dev-util/FoBiS[${PYTHON_USEDEP}]
+	')
+"
+
+PATCHES=(
+	"${FILESDIR}/stringifor-1.1.1_fobos_soname.patch"
+	"${FILESDIR}/stringifor-1.1.3_fix_tests.patch"
+)
+
+set_build_mode() {
+	case $(tc-getFC) in
+		*gfortran* )
+			BUILD_MODE_SHARED="-mode stringifor-shared-gnu"
+			BUILD_MODE_STATIC="-mode stringifor-static-gnu"
+			BUILD_MODE_TESTS="-mode tests-gnu" ;;
+		*ifort* )
+			BUILD_MODE_SHARED="-mode stringifor-shared-intel"
+			BUILD_MODE_STATIC="-mode stringifor-static-intel"
+			BUILD_MODE_TESTS="-mode tests-intel" ;;
+		* )
+			die "Sorry, GNU gfortran or Intel ifort are currently supported in the ebuild" ;;
+	esac
+}
+
+pkg_setup() {
+	fortran-2_pkg_setup
+	set_build_mode
+}
+
+src_prepare() {
+	default
+
+	sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' \
+		-e '/^\$LSHARED/s:$: '"${LDFLAGS}"':' fobos || die
+}
+
+src_compile() {
+	${EPYTHON} FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_SHARED} || die
+	use static-libs && { ${EPYTHON} FoBiS.py build -verbose -compiler custom -fc $(tc-getFC) ${BUILD_MODE_STATIC} || die; }
+}
+
+src_test() {
+	${EPYTHON} FoBiS.py build -compiler custom -fc $(tc-getFC) ${BUILD_MODE_TESTS} || die
+	for e in $( find ./exe/ -type f -executable -print ); do
+		if [ "$e" != "./exe/stringifor_test_parse_large_csv" ] ; then
+			echo "  run test $e :" && { $e || die; }
+		else
+			# The output of this test is too huge so it's cutted here
+			echo "  run test $e :" && { $e | tail -n 10 || die; }
+		fi
+	done
+}
+
+src_install() {
+	mv lib/mod lib/stringifor || die
+	doheader -r lib/stringifor/
+
+	mv lib/libstringifor.so{,.1} || die
+	dosym libstringifor.so.1 /usr/$(get_libdir)/libstringifor.so
+	dolib.so lib/libstringifor.so.1
+
+	use static-libs && dolib.a lib/libstringifor.a
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2023-01-18 21:47 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2023-01-18 21:47 UTC (permalink / raw
  To: gentoo-commits

commit:     294a120fd84c7166d3b4c5cb26a1e5eaed57e175
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Jan 18 21:46:31 2023 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Wed Jan 18 21:46:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=294a120f

dev-libs/StringiFor: drop python3.8 compat.

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
index 6b250c9b5..996040d57 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 FORTRAN_STANDARD=2003
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit  fortran-2 python-any-r1 toolchain-funcs
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2024-01-21 20:32 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2024-01-21 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     24750df33281cc55c2bad8f42b61fab814a0c3e0
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sun Jan 21 20:24:28 2024 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Sun Jan 21 20:24:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24750df3

dev-libs/StringiFor: update {dev-util → dev-build}/FoBiS

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
index db9e99c2f4..a6d02c4aac 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
@@ -26,7 +26,7 @@ RESTRICT="!test? ( test )"
 BDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_any_dep '
-		dev-util/FoBiS[${PYTHON_USEDEP}]
+		dev-build/FoBiS[${PYTHON_USEDEP}]
 	')
 "
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2024-01-25 17:40 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2024-01-25 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     8d8997f0825f6545d2c50c023d00b8d9a1168ddd
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Thu Jan 25 17:38:01 2024 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Thu Jan 25 17:38:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d8997f0

dev-libs/StringiFor: update Manifest record size

Closes: https://bugs.gentoo.org/922904

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/StringiFor/Manifest b/dev-libs/StringiFor/Manifest
index e3c68a11d0..e5f9d05f62 100644
--- a/dev-libs/StringiFor/Manifest
+++ b/dev-libs/StringiFor/Manifest
@@ -1 +1 @@
-DIST StringiFor-1.1.4.tar.gz 571734 BLAKE2B 2f830b266fbe9022a41f23f4abc13062bb581fe103a5348305050d46cf575a96a4c1998cb99ea68745209b54bc4862d52aef9c724c41d8341ff5ec7a5a8ef994 SHA512 3176a0eacdc8cfc1049373bd3313c64b8f7744d430f05b2aba4768311145e509ac1783152061da3e10af3dff9fa949da7e2554c2f8ad6a648d51eacbef007d30
+DIST StringiFor-1.1.4.tar.gz 574105 BLAKE2B 553667619289350d00e9654fc410126c7bd88a0e99ccd4dd0f3af0a2c1be06b166bf06d66c13050739052decd8af296213166c8450ef689a3e42cf3e51f8e394 SHA512 37eb18200996258fb12245bc810a8e3f9f09e0cc1469765585fb71293167f0b8e7bc7dd7aa8524c20c0a71abaf63bd11c3d48176c608df64a546449996e7112b


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/
@ 2024-04-18 19:14 Sergey Torokhov
  0 siblings, 0 replies; 11+ messages in thread
From: Sergey Torokhov @ 2024-04-18 19:14 UTC (permalink / raw
  To: gentoo-commits

commit:     a1880e4ff8112f5717cdf25a8819f0f389ce31f4
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Thu Apr 18 19:05:28 2024 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Thu Apr 18 19:05:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1880e4f

dev-libs/StringiFor: enable py3.12

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.4.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
index a6d02c4aac..6373db8090 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 FORTRAN_STANDARD=2003
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit  fortran-2 python-any-r1 toolchain-funcs
 
@@ -21,7 +21,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 IUSE="static-libs test"
-RESTRICT="!test? ( test )"
+RESTRICT="mirror !test? ( test )"
 
 BDEPEND="
 	${PYTHON_DEPS}


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

end of thread, other threads:[~2024-04-18 19:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-10 11:26 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/StringiFor/ Sergey Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2024-04-18 19:14 Sergey Torokhov
2024-01-25 17:40 Sergey Torokhov
2024-01-21 20:32 Sergey Torokhov
2023-01-18 21:47 Sergey Torokhov
2022-10-13 15:57 Sergey Torokhov
2021-04-24  9:39 Sergey Torokhov
2021-04-22  6:45 Andrew Ammerlaan
2020-04-25 20:07 Alessandro Barbieri
2020-04-21 12:35 Sergey Torokhov
2020-04-19 16:48 Sergey Torokhov

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