public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     e3e6f36f3f40a3842305d987afeda9fa38e6fcea
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Feb 15 00:31:48 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 00:31:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3e6f36f

gui-apps/openrefine: use variable instead of hardcode

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/openrefine-3.7.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index ddb9e01a34..afabfca9b9 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -26,8 +26,8 @@ src_install() {
 	mkdir -p  "${ED}/${apphome}" || die
 	mkdir     tools build || die
 	chmod 775 tools build || die
-	keepdir /opt/openrefine/tools
-	keepdir /opt/openrefine/build
+	keepdir ${apphome}/tools
+	keepdir ${apphome}/build
 	cp -r . "${ED}/${apphome}" || die
 
 	make_wrapper refine "


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     8fdcbbb722490e9f2e098113e06b140ef8d3c962
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Wed Feb 14 23:19:18 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Feb 14 23:19:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fdcbbb7

gui-apps/openrefine: new package, add 3.7.9

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/Manifest                |  1 +
 gui-apps/openrefine/metadata.xml            | 14 ++++++++++
 gui-apps/openrefine/openrefine-3.7.9.ebuild | 43 +++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/gui-apps/openrefine/Manifest b/gui-apps/openrefine/Manifest
new file mode 100644
index 0000000000..d2224941b1
--- /dev/null
+++ b/gui-apps/openrefine/Manifest
@@ -0,0 +1 @@
+DIST openrefine-linux-3.7.9.tar.gz 148721150 BLAKE2B c464b5038a754155a6e30c08a1c5fd626cc116706bc643e9802089fd87014ac2af0d03d0e3752004a2c0d27e5efa5e641ae8ec4ac546d0030f64e9ce82a75a22 SHA512 7786bef57d4b8341353e00ecfcf2dcbb6ce5161c4f65cab34e9555506711169f4020beed012e9388b3ff3c6ab666595acc1856d717dcaa3811a6765ded76ea59

diff --git a/gui-apps/openrefine/metadata.xml b/gui-apps/openrefine/metadata.xml
new file mode 100644
index 0000000000..d2eb4f51fe
--- /dev/null
+++ b/gui-apps/openrefine/metadata.xml
@@ -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>

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
new file mode 100644
index 0000000000..70ad820bfe
--- /dev/null
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -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"
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     d651bc9f05f21227055d153d73fe1ac0fa8a2a2e
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Feb 15 01:14:32 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 01:14:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d651bc9f

gui-apps/openrefine: add Commons extension

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/Manifest                |  1 +
 gui-apps/openrefine/metadata.xml            |  3 +++
 gui-apps/openrefine/openrefine-3.7.9.ebuild | 17 +++++++++++++----
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/gui-apps/openrefine/Manifest b/gui-apps/openrefine/Manifest
index d2224941b1..29e90aba1d 100644
--- a/gui-apps/openrefine/Manifest
+++ b/gui-apps/openrefine/Manifest
@@ -1 +1,2 @@
+DIST openrefine-commons-0.1.1.zip 2602139 BLAKE2B b9caba8d047a352ba47473012c9115dc348fd44aa33bac40ad95f2506fc43349a39f3699ec95ecdeb950f8ff0e23adad8bc3ec0aa8edade32cf8a9319516083d SHA512 d6ea62e6e9770317bfe217be0e96dabd8172f8956a32cf85da149220dfbe242494822378d885d01eb4814ee9cfc3e8dbe5fd6057630fff9692c22727ebbdf4bd
 DIST openrefine-linux-3.7.9.tar.gz 148721150 BLAKE2B c464b5038a754155a6e30c08a1c5fd626cc116706bc643e9802089fd87014ac2af0d03d0e3752004a2c0d27e5efa5e641ae8ec4ac546d0030f64e9ce82a75a22 SHA512 7786bef57d4b8341353e00ecfcf2dcbb6ce5161c4f65cab34e9555506711169f4020beed012e9388b3ff3c6ab666595acc1856d717dcaa3811a6765ded76ea59

diff --git a/gui-apps/openrefine/metadata.xml b/gui-apps/openrefine/metadata.xml
index d2eb4f51fe..67e2f214e3 100644
--- a/gui-apps/openrefine/metadata.xml
+++ b/gui-apps/openrefine/metadata.xml
@@ -5,6 +5,9 @@
 		<email>zdanevich.vitaly@ya.ru</email>
 		<name>Vitaly Zdanevich</name>
 	</maintainer>
+	<use>
+		<flag name="commons">Download and install plugin for Wikimedia Commons</flag>
+	</use>
 	<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>

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index 127bc415da..48becdd8ac 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -8,16 +8,20 @@ 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"
+SRC_URI="https://github.com/OpenRefine/OpenRefine/releases/download/${PV}/${PN}-linux-${PV}.tar.gz
+	commons? ( https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.1/openrefine-commons-0.1.1.zip )"
 KEYWORDS="~amd64"
+IUSE="+commons"
 
 LICENSE="BSD"
 SLOT="0"
 
+BDEPEND="commons? ( app-arch/unzip )"
+
 DEPEND="
-virtual/jre
-dev-java/maven-bin
-net-libs/nodejs
+	virtual/jre
+	dev-java/maven-bin
+	net-libs/nodejs
 "
 
 src_install() {
@@ -26,6 +30,11 @@ src_install() {
 	mkdir -p  "${ED}/${apphome}" tools build || die
 	chmod 775 tools build || die
 	keepdir ${apphome}/{tools,build}
+
+	if use commons ; then
+		cp -r "${WORKDIR}/${NANE}/commons-extension" webapp/extensions || die
+	fi
+
 	cp -r . "${ED}/${apphome}" || die
 
 	make_wrapper refine "


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     23960af27ad9f4c10d886d38e85eeb686d4bf1f7
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Feb 15 00:33:18 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 00:33:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23960af2

gui-apps/openrefine: use variable instead of hardcode

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/openrefine-3.7.9.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index afabfca9b9..c60b442528 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -31,10 +31,10 @@ src_install() {
 	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"
+		env REFINE_LIB_DIR=${apphome}/server/target/lib \
+		    REFINE_TOOLS_DIR=${apphome}/tools \
+		    REFINE_CLASSES_DIR=${apphome}/server/classes \
+		    REFINE_WEBAPP=${apphome}/main/webapp /opt/openrefine/refine"
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     42c089870135db1b439b07371e2b21c951e39b06
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Feb 15 09:07:56 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 09:07:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42c08987

gui-apps/openrefine: elog add about long installing

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/openrefine-3.7.9.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index 48becdd8ac..6a5acf3417 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -46,4 +46,5 @@ src_install() {
 
 pkg_postinst() {
 	elog "In order to use ${PN} run refine in a terminal, from Dmenu also works"
+	elog "First run better in terminal - for long installing"
 }


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     0f4378f483e7d0a682cf0c667efab0becede1a0f
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Wed Feb 14 23:35:35 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Feb 14 23:35:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f4378f4

gui-apps/openrefine: remove commented line

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/openrefine-3.7.9.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index 70ad820bfe..e6fcf6485d 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -28,7 +28,6 @@ src_install() {
 	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 "


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     0e6d3fe0af13789d4e6faf9de28ba96a4beffa3c
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Wed Feb 14 23:37:00 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Feb 14 23:37:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e6d3fe0

gui-apps/openrefine: DEPEND order

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/openrefine-3.7.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index e6fcf6485d..ddb9e01a34 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -15,9 +15,9 @@ LICENSE="BSD"
 SLOT="0"
 
 DEPEND="
+virtual/jre
 dev-java/maven-bin
 net-libs/nodejs
-virtual/jre
 "
 
 src_install() {


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     604fdb633213dfa74a810743b3a1a43e7208d0ed
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Feb 15 00:36:07 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 00:36:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=604fdb63

gui-apps/openrefine: syntax simplify

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/openrefine/openrefine-3.7.9.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gui-apps/openrefine/openrefine-3.7.9.ebuild b/gui-apps/openrefine/openrefine-3.7.9.ebuild
index c60b442528..127bc415da 100644
--- a/gui-apps/openrefine/openrefine-3.7.9.ebuild
+++ b/gui-apps/openrefine/openrefine-3.7.9.ebuild
@@ -23,11 +23,9 @@ net-libs/nodejs
 src_install() {
 	local apphome="/opt/${PN}"
 
-	mkdir -p  "${ED}/${apphome}" || die
-	mkdir     tools build || die
+	mkdir -p  "${ED}/${apphome}" tools build || die
 	chmod 775 tools build || die
-	keepdir ${apphome}/tools
-	keepdir ${apphome}/build
+	keepdir ${apphome}/{tools,build}
 	cp -r . "${ED}/${apphome}" || die
 
 	make_wrapper refine "


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-15 14:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 14:58 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/openrefine/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox