dev-cpp/pystring: remove, is in ::gentoo
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
4ae9cbeb16
commit
c74f1bd176
@ -1 +0,0 @@
|
|||||||
DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>parona@protonmail.com</email>
|
|
||||||
<name>Alfred Wingate</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">imageworks/pystring</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,39 +0,0 @@
|
|||||||
# 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
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/gcc[cxx]
|
|
||||||
sys-devel/libtool
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i "s/\(CXXFLAGS =\) -g -O3 \(.*\)/\1 ${CXXFLAGS} \2/" Makefile || die
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake LIBDIR="${S}" install
|
|
||||||
mkdir pystring || die
|
|
||||||
cp pystring.h pystring || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dolib.so libpystring.so{,.0{,.0.0}}
|
|
||||||
doheader -r pystring
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
# 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
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/gcc[cxx]
|
|
||||||
sys-devel/libtool
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i "s/\(CXXFLAGS =\) -g -O3 \(.*\)/\1 ${CXXFLAGS} \2/" Makefile || die
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake LIBDIR="${S}" install
|
|
||||||
mkdir pystring || die
|
|
||||||
cp pystring.h pystring || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dolib.so libpystring.so{,.0{,.0.0}}
|
|
||||||
doheader -r pystring
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user