aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-03-08 12:11:15 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-03-08 12:11:15 +0400
commit1c02bb94207891296e2d92428d1029c67dbc3e51 (patch)
tree216e8cb0dfd096c8532cd21e99453f7263722f09 /net-misc
parentdev-build/just: add 1.25.0 (diff)
downloadguru-1c02bb94207891296e2d92428d1029c67dbc3e51.tar.gz
guru-1c02bb94207891296e2d92428d1029c67dbc3e51.tar.bz2
guru-1c02bb94207891296e2d92428d1029c67dbc3e51.zip
net-misc/commons-wikimedia-find-by-hash: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/commons-wikimedia-find-by-hash/Manifest1
-rw-r--r--net-misc/commons-wikimedia-find-by-hash/commons-wikimedia-find-by-hash-1.0.0.ebuild21
-rw-r--r--net-misc/commons-wikimedia-find-by-hash/metadata.xml12
3 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/commons-wikimedia-find-by-hash/Manifest b/net-misc/commons-wikimedia-find-by-hash/Manifest
new file mode 100644
index 000000000..836eb8b76
--- /dev/null
+++ b/net-misc/commons-wikimedia-find-by-hash/Manifest
@@ -0,0 +1 @@
+DIST commons-wikimedia-find-by-hash-1.0.0.tar.bz2 530 BLAKE2B 104e53be23adee4cf9bca45ffa93bfb4df4274b542aecfe079cbd4ec9c07476a89ca540c18ec6f74d63d15d75e38fd074982b46358141dbaa0719ba5feb6b141 SHA512 782e8ab9257506d26eda26fbe77e1acd9a434c62b41ea41097b70be1d39367afa36bcaa8474d1fa3bf690c712bc9555e51e90acb16d961cdd38da5b265bafc88
diff --git a/net-misc/commons-wikimedia-find-by-hash/commons-wikimedia-find-by-hash-1.0.0.ebuild b/net-misc/commons-wikimedia-find-by-hash/commons-wikimedia-find-by-hash-1.0.0.ebuild
new file mode 100644
index 000000000..8ff2ba931
--- /dev/null
+++ b/net-misc/commons-wikimedia-find-by-hash/commons-wikimedia-find-by-hash-1.0.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Search in Wikimedia Commons by sha1 of provided file"
+HOMEPAGE="https://gitlab.com/vitaly-zdanevich/commons-wikimedia-find-by-hash"
+SRC_URI="https://gitlab.com/vitaly-zdanevich/commons-wikimedia-find-by-hash/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ net-misc/curl
+ app-misc/jq
+"
+
+src_install() {
+ dobin "${PN}".sh
+}
diff --git a/net-misc/commons-wikimedia-find-by-hash/metadata.xml b/net-misc/commons-wikimedia-find-by-hash/metadata.xml
new file mode 100644
index 000000000..abd403955
--- /dev/null
+++ b/net-misc/commons-wikimedia-find-by-hash/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Vitaly Zdanevich</name>
+ <email>zdanevich.vitaly@ya.ru</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">vitaly-zdanevich/commons-wikimedia-find-by-hash</remote-id>
+ <bugs-to>https://gitlab.com/vitaly-zdanevich/commons-wikimedia-find-by-hash/-/issues</bugs-to>
+ </upstream>
+</pkgmetadata>