commit: cc03fc49668dc812edbb2e8ac4a31ad2b52d5c3b Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Mar 18 22:53:49 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Mar 18 23:04:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc03fc49
app-shells/irregular: new package; add 0.7.8 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-shells/irregular/Manifest | 1 + app-shells/irregular/irregular-0.7.8.ebuild | 34 +++++++++++++++++++++++++++++ app-shells/irregular/metadata.xml | 13 +++++++++++ 3 files changed, 48 insertions(+) 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>[email protected]</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>
