summaryrefslogtreecommitdiff
path: root/dev-cpp/pystring
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-22 06:30:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-22 06:30:44 +0000
commit5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (patch)
tree341806a72603cc8845e7e1595289e7a8b9570f2a /dev-cpp/pystring
parentd2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (diff)
gentoo auto-resync : 22:12:2024 - 06:30:44
Diffstat (limited to 'dev-cpp/pystring')
-rw-r--r--dev-cpp/pystring/Manifest5
-rw-r--r--dev-cpp/pystring/files/install_header_file.patch15
-rw-r--r--dev-cpp/pystring/pystring-1.1.3-r1.ebuild2
-rw-r--r--dev-cpp/pystring/pystring-1.1.4.ebuild25
4 files changed, 44 insertions, 3 deletions
diff --git a/dev-cpp/pystring/Manifest b/dev-cpp/pystring/Manifest
index 165b58a86c1d..65cf79a6597d 100644
--- a/dev-cpp/pystring/Manifest
+++ b/dev-cpp/pystring/Manifest
@@ -1,4 +1,7 @@
AUX cmake.patch 2385 BLAKE2B dc19b5e192b6403c283b89055c5acbf6abc87722a7b76142c5e41dd6a8ba287981bb05337f6f6d775d9b1bf7c92dd602c4f459857570aac44ee5ec05279eeeb9 SHA512 533ef9fc79a48cfd51d4aa3b9ea77da9e25b3024082aaa40388453fb38b24701f20fa0c7c832a254a5ec61e67e77169294808f4dee4f9f573fbb532cfe415ca4
+AUX install_header_file.patch 405 BLAKE2B 6dc6fc499e38668d799977bb31a1e1f135b25aa9cee1383d10e80efc9b9253169c1858e885682ca8407f608bdf968e60c5fbbaf0c71e594e9ec8b4f436c44360 SHA512 4510c658da75653f669617c1295bf746ada8aa978502e712156ebde6acc7d9a540a3b28c11f1d04c09d6d09cac31df61c868e9798cb7fc26e170b4132695a2c0
DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6
-EBUILD pystring-1.1.3-r1.ebuild 720 BLAKE2B bfef98f238405a2b3404d521a67f476975a9a27098a1a46bd2e57649195475aee332fec47be3b17cc1e957ec7a7144a77916a0538d7cc25fc476a4e3d9ccaa05 SHA512 1e962396656d7790bc687b31f6545267f250c34445b443ba35d3ee826ca78c1b2350c15d704dc74514973de43f93330a699d141b139f379ff8c27aed687fcae7
+DIST pystring-1.1.4.tar.gz 19184 BLAKE2B 299e6feb10e2f12fa1e92fd1a7309b482769b4d0edea65f5f4bac06c6ae318d3464cf8acc2d6a899c28eb9073a396402b6d28e0950b51ac7f214da1a0a7ca521 SHA512 9c0460fea67885492f9b0d29a9ba312d960fd5e43577cdcfd47faf04397ff4b7e456ed68f1948b923d2f63f9922d576b93e4ca1a27376bcb6d29c683828acb01
+EBUILD pystring-1.1.3-r1.ebuild 691 BLAKE2B 7296817e4aa502f4cf8ea2b11a77060b9c97d8ee1dd0b4df401cb7301e5ef54f2a273a9caa1e5f3d41a1aa1e88293a7faad21102bc871527a859c5b71636143e SHA512 8c9a161e9dea92741fb5a1d93969561e261abd4628897dd6730b2b1d9f090bb936f63cf6d38a70b38d81679d1e0bab2eade67e3695c5512086017beed795b0c4
+EBUILD pystring-1.1.4.ebuild 650 BLAKE2B 6368b8d8a3a2151c679276540a784cb571d3bd99e4cd6658caec8ed04f10a89aea68ced8a9af65632dffcec4d95680a7dc2b9fefbacef64be887f0b105c7b708 SHA512 321fc8262e7b0a93663e65a8b71fe1ba67e7a19e57ff1e3b3c5a87daca739b132ad0a1b0774b9fec9ad0e080240ade1890a5cd6d4d217c797fd4810b4b0a94e1
MISC metadata.xml 486 BLAKE2B a18d073c90097ec2cea226520618f43ec2c1c81bae1e30405f0b99ae912ad146467bbc875cc640188475f7de7739e2085bf8c933e1d31b024ecc763a1f58eaf6 SHA512 462cb9958cdfffff17a18afad1d0528be7e0b6f0be151f3c59eac8c9b2a25e18afb1477264c90113c26dd60156ee26f6f16a6d5c8d751fbecf6e6d727753e8a4
diff --git a/dev-cpp/pystring/files/install_header_file.patch b/dev-cpp/pystring/files/install_header_file.patch
new file mode 100644
index 000000000000..634a1efc050b
--- /dev/null
+++ b/dev-cpp/pystring/files/install_header_file.patch
@@ -0,0 +1,15 @@
+Modify Cmake so that it installs the header file
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fed418f..0354c36 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -19,4 +19,8 @@ include(GNUInstallDirs)
+ install(TARGETS pystring
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
++install (FILES pystring.h
++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
++ COMPONENT developer
++)
+
diff --git a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
index 28892a5737ca..ccc4e19d1a1d 100644
--- a/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
+++ b/dev-cpp/pystring/pystring-1.1.3-r1.ebuild
@@ -19,8 +19,6 @@ fi
LICENSE="BSD"
SLOT="0"
-BDEPEND="dev-build/libtool"
-
PATCHES=(
# Patch to convert the project into cmake. Taken from:
# https://github.com/imageworks/pystring/pull/29
diff --git a/dev-cpp/pystring/pystring-1.1.4.ebuild b/dev-cpp/pystring/pystring-1.1.4.ebuild
new file mode 100644
index 000000000000..5e8286cf0ab3
--- /dev/null
+++ b/dev-cpp/pystring/pystring-1.1.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+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 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+PATCHES=(
+ # This release doesn't install the header file.
+ "${FILESDIR}/install_header_file.patch"
+)