From aa9faee3585bc4edee545e37642c110414d3ee30 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 16 Feb 2021 01:51:38 +0000 Subject: Adding metadata --- dev-python/pystring/Manifest | 1 + dev-python/pystring/metadata.xml | 16 ++++++++++++++++ dev-python/pystring/pystring-1.1.3.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/pystring/Manifest create mode 100644 dev-python/pystring/metadata.xml create mode 100644 dev-python/pystring/pystring-1.1.3.ebuild (limited to 'dev-python/pystring') diff --git a/dev-python/pystring/Manifest b/dev-python/pystring/Manifest new file mode 100644 index 000000000000..eb3773a17b36 --- /dev/null +++ b/dev-python/pystring/Manifest @@ -0,0 +1 @@ +DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6 diff --git a/dev-python/pystring/metadata.xml b/dev-python/pystring/metadata.xml new file mode 100644 index 000000000000..d6ba94d175ad --- /dev/null +++ b/dev-python/pystring/metadata.xml @@ -0,0 +1,16 @@ + + + + + parona@protonmail.com + Alfred Wingate + + + dev@liguros.net + Development + + + imageworks/pystring + + ports + 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 +} -- cgit v1.3.1