summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-03-18 23:53:49 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-03-19 00:04:29 +0100
commitcc03fc49668dc812edbb2e8ac4a31ad2b52d5c3b (patch)
tree39f0d8bae74c501a5f6ea4746bf92f92e30e7258 /app-shells
parentapp-containers/earthly: cleanup comments (diff)
downloadgentoo-cc03fc49668dc812edbb2e8ac4a31ad2b52d5c3b.tar.gz
gentoo-cc03fc49668dc812edbb2e8ac4a31ad2b52d5c3b.tar.bz2
gentoo-cc03fc49668dc812edbb2e8ac4a31ad2b52d5c3b.zip
app-shells/irregular: new package; add 0.7.8
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/irregular/Manifest1
-rw-r--r--app-shells/irregular/irregular-0.7.8.ebuild34
-rw-r--r--app-shells/irregular/metadata.xml13
3 files changed, 48 insertions, 0 deletions
diff --git a/app-shells/irregular/Manifest b/app-shells/irregular/Manifest
new file mode 100644
index 000000000000..63b78861dd3b
--- /dev/null
+++ b/app-shells/irregular/Manifest
@@ -0,0 +1 @@
+DIST irregular-0.7.8.tar.gz 530657 BLAKE2B e6a350d3ba582bfcfd23a2ff8b3a992fa43a4dbd0fbf18eb9bdb1f5c76f8140c1d27b02cc6feb28bfe1c45be480f72ca8a592b0bb54efb529c78904a79f95019 SHA512 c4a2a8cfe202ec7222c038125b2fed4c58b6611e03bff836b3d90b7e0c6a932a4d00e430cd6212b43fa30e471c8ba8fdbcf0f43474f89c84078386f55575b635
diff --git a/app-shells/irregular/irregular-0.7.8.ebuild b/app-shells/irregular/irregular-0.7.8.ebuild
new file mode 100644
index 000000000000..fbaf088f26c5
--- /dev/null
+++ b/app-shells/irregular/irregular-0.7.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="PowerShell module that helps to understand, use, and build regular expressions"
+HOMEPAGE="https://irregular.start-automating.com/
+ https://github.com/StartAutomating/Irregular/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/StartAutomating/${PN^}.git"
+else
+ SRC_URI="https://github.com/StartAutomating/${PN^}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${P^}"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="${PV}"
+
+RDEPEND="virtual/pwsh:*"
+
+src_install() {
+ insinto "/usr/share/GentooPowerShell/Modules/${PN^}/${PV}"
+ doins "${PN^}.psd1"
+ doins *.ps1 *.ps1xml *.psm1
+ doins -r Formatting RegEx Types en-us
+
+ dodoc *.md
+}
diff --git a/app-shells/irregular/metadata.xml b/app-shells/irregular/metadata.xml
new file mode 100644
index 000000000000..57f0f430cade
--- /dev/null
+++ b/app-shells/irregular/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://gitlab.com/StartAutomating/Irregular/issues/</bugs-to>
+ <remote-id type="github">StartAutomating/Irregular</remote-id>
+ </upstream>
+</pkgmetadata>