mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
gui-apps/openrefine: new package, add 3.7.9
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
1
gui-apps/openrefine/Manifest
Normal file
1
gui-apps/openrefine/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST openrefine-linux-3.7.9.tar.gz 148721150 BLAKE2B c464b5038a754155a6e30c08a1c5fd626cc116706bc643e9802089fd87014ac2af0d03d0e3752004a2c0d27e5efa5e641ae8ec4ac546d0030f64e9ce82a75a22 SHA512 7786bef57d4b8341353e00ecfcf2dcbb6ce5161c4f65cab34e9555506711169f4020beed012e9388b3ff3c6ab666595acc1856d717dcaa3811a6765ded76ea59
|
||||
14
gui-apps/openrefine/metadata.xml
Normal file
14
gui-apps/openrefine/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>zdanevich.vitaly@ya.ru</email>
|
||||
<name>Vitaly Zdanevich</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
OpenRefine is a powerful free, open source tool for working with messy data: cleaning it; transforming it from one format into another; and extending it with web services and external data.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">OpenRefine/OpenRefine</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
43
gui-apps/openrefine/openrefine-3.7.9.ebuild
Normal file
43
gui-apps/openrefine/openrefine-3.7.9.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2024 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper
|
||||
|
||||
DESCRIPTION="Wikidata batch editor, Wikimedia Commons mass upload tool"
|
||||
HOMEPAGE="https://openrefine.org"
|
||||
|
||||
SRC_URI="https://github.com/OpenRefine/OpenRefine/releases/download/${PV}/${PN}-linux-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
dev-java/maven-bin
|
||||
net-libs/nodejs
|
||||
virtual/jre
|
||||
"
|
||||
|
||||
src_install() {
|
||||
local apphome="/opt/${PN}"
|
||||
|
||||
mkdir -p "${ED}/${apphome}" || die
|
||||
mkdir tools build || die
|
||||
chmod 775 tools build || die
|
||||
keepdir /opt/openrefine/tools
|
||||
keepdir /opt/openrefine/build
|
||||
# dosym "${apphome}/refine" /usr/bin/refine
|
||||
cp -r . "${ED}/${apphome}" || die
|
||||
|
||||
make_wrapper refine "
|
||||
env REFINE_LIB_DIR=/opt/openrefine/server/target/lib \
|
||||
REFINE_TOOLS_DIR=/opt/openrefine/tools \
|
||||
REFINE_CLASSES_DIR=/opt/openrefine/server/classes \
|
||||
REFINE_WEBAPP=/opt/openrefine/main/webapp /opt/openrefine/refine"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to use ${PN} run refine in a terminal, from Dmenu also works"
|
||||
}
|
||||
Reference in New Issue
Block a user