dev-lang/wren: treeclean

Closes: https://bugs.gentoo.org/839858
Closes: https://bugs.gentoo.org/897386
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-02 00:37:34 +05:00
parent d628493adf
commit 4e5e3a336d
4 changed files with 0 additions and 85 deletions

View File

@@ -1,2 +0,0 @@
DIST wren-0.3.0.tar.gz 1228834 BLAKE2B ff809008646970815b0f3ef3457d12ad1e6ac431b32f059035b15f1ad9f46247510a28d34d789472c6dc9fe1caeee71e09bd5484fe21dfdb356d8fcfc206a812 SHA512 8c05b69539b8a51289efecbd998bf1d054ff90944b949720b512b7a1202ace9ba56779f2e995097571459da6d8447f925f54c8170a3f6edeeaac6df265ffdc4c
DIST wren-cli-0.3.0.tar.gz 509755 BLAKE2B 13034a6aeaa7ef2a20163714233c4750f1ab88fb232758c26bd35f8616c239936b1f80bf95c95da4d2ad2436a7813f1763002637030473a9abed8d0a4532d61d SHA512 8d4894c5e669c0c03bfb546c37cb9e917990a6cb6c59d399cbb5a03a9c9de7954bc203646ac776643c73ab9cb6e331868707d82e7c2ebd8625a9d80f4aea4f20

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
Wren is a small, fast, class-based concurrent scripting language
Think Smalltalk in a Lua-sized package with a dash of Erlang and wrapped up in a familiar, modern syntax.
</longdescription>
<maintainer type="person">
<email>m.santullo@posteo.net</email>
<name>Michele Santullo</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/wren-lang/wren/issues</bugs-to>
<remote-id type="github">wren-lang/wren</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,66 +0,0 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_9 )
inherit distutils-r1 toolchain-funcs
DESCRIPTION="The Wren Programming Language"
HOMEPAGE="https://wren.io/"
SRC_URI="
https://github.com/wren-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/wren-lang/${PN}-cli/archive/${PV}.tar.gz -> ${PN}-cli-${PV}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-libs/libuv"
DEPEND="${RDEPEND}"
src_prepare() {
default
# Don't pre-strip
sed -i 's/-s$//' projects/make/wren_shared.make || die
sed -i 's/-s$//' "${WORKDIR}"/wren-cli-${PV}/projects/make/wren_cli.make || die
cat <<EOF > ${PN}.pc
prefix="${EPREFIX}/usr"
libdir="\${prefix}/$(get_libdir)"
includedir="\${prefix}/include"
Name: ${PN}
Description: ${DESCRIPTION}
URL: ${HOMEPAGE}
Version: ${PV}
Libs: "-L\${libdir}" -l${PN}
Cflags: "-I\${includedir}"
EOF
}
src_compile() {
tc-export CC
cd projects/make
emake verbose=1
cd "${WORKDIR}/wren-cli-${PV}/projects/make"
emake verbose=1
}
python_test() {
${EPYTHON} util/test.py || die
}
src_install() {
newbin "${WORKDIR}"/wren-cli-${PV}/bin/wren_cli wren
dolib.so lib/libwren.so
doheader src/include/wren.h
doheader src/include/wren.hpp
insinto /usr/$(get_libdir)/pkgconfig
doins ${PN}.pc
einstalldocs
}

View File

@@ -22,7 +22,6 @@ sys-cluster/pcs
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-05-01)
# No supported Pythom implementations set in ebuild.
# Masked for removal in 30 days.
dev-lang/wren
dev-python/asciimatics
dev-python/bitbox02
dev-python/google-cloud-storage