summaryrefslogtreecommitdiff
path: root/dev-python/pystring/pystring-1.1.3.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-03-01 00:37:58 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-03-01 00:37:58 +0000
commit8ddb1a3d1229412a438971f82d37d518a0223726 (patch)
tree83438b5ddb9d23a390f1a3fc505303d3d2223bf2 /dev-python/pystring/pystring-1.1.3.ebuild
parent9acab46e1a820daece7b2e631485c157ce2210ad (diff)
downloadbaldeagleos-repo-21.1.5.tar.gz
baldeagleos-repo-21.1.5.tar.xz
baldeagleos-repo-21.1.5.zip
Adding metadatav21.1.5
Diffstat (limited to 'dev-python/pystring/pystring-1.1.3.ebuild')
-rw-r--r--dev-python/pystring/pystring-1.1.3.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/pystring/pystring-1.1.3.ebuild b/dev-python/pystring/pystring-1.1.3.ebuild
new file mode 100644
index 000000000000..d7d9e531ac6f
--- /dev/null
+++ b/dev-python/pystring/pystring-1.1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021 Liguros 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
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+
+src_compile() {
+ emake LIBDIR="${S}" install
+ mkdir pystring || die
+ mv pystring.h pystring || die
+}
+
+src_install() {
+ dolib.so libpystring.so{,.0{,.0.0}}
+ doheader -r pystring
+}