public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-arch/pack/
@ 2022-09-24 20:07 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2022-09-24 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     977054cdb1f39eaad3e1cc470cb5db23dde97dbc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 20:05:47 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 20:07:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977054cd

app-arch/pack: New package, v0.0.0.1

A totally random tool that apparently can produce .z files that are
compatible with the original pack(1) tool.  If someone can find one
that's not in Haskell, please, please, tell me.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-arch/pack/Manifest            |  1 +
 app-arch/pack/metadata.xml        | 11 +++++++++++
 app-arch/pack/pack-0.0.0.1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/app-arch/pack/Manifest b/app-arch/pack/Manifest
new file mode 100644
index 000000000000..0256fb512bdc
--- /dev/null
+++ b/app-arch/pack/Manifest
@@ -0,0 +1 @@
+DIST pack-0bd29ccae2662ef9ae1fabe707d84e4f84b36d53.tar.gz 3833 BLAKE2B f597746aa99e1cc59af3dd86a030458a2498a0649aae8f7bf9ac008c0bb6a0a26af62e5a4e76c6f8b49b5f0a6e19c0d6714c2a548231a6ce103c361b227757b9 SHA512 a75eb599aa0abcec9d151d5af7128bbbc13f7687dcc15ec5843dffd5e1084598ebabc6c1981a6ee225855435b5c4693ee4c7ad62f4e36f5e0de8205591d42439

diff --git a/app-arch/pack/metadata.xml b/app-arch/pack/metadata.xml
new file mode 100644
index 000000000000..daafb9559e2f
--- /dev/null
+++ b/app-arch/pack/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mgorny@gentoo.org</email>
+		<name>Michał Górny</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">koalaman/pack</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/app-arch/pack/pack-0.0.0.1.ebuild b/app-arch/pack/pack-0.0.0.1.ebuild
new file mode 100644
index 000000000000..e02651bdace9
--- /dev/null
+++ b/app-arch/pack/pack-0.0.0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit haskell-cabal
+
+EGIT_COMMIT="0bd29ccae2662ef9ae1fabe707d84e4f84b36d53"
+MY_P=${PN}-${EGIT_COMMIT}
+DESCRIPTION="Haskell implementation of pack compression from the early 1980s"
+HOMEPAGE="https://github.com/koalaman/pack/"
+SRC_URI="
+	https://github.com/koalaman/pack/archive/${EGIT_COMMIT}.tar.gz
+		-> ${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-lang/ghc:=
+"
+BDEPEND="
+	>=dev-haskell/cabal-1.10
+"
+
+CABAL_FILE=${S}/pack-compression.cabal
+
+src_prepare() {
+	sed -i -e '/base/s:&& <4.10::' "${CABAL_FILE}" || die
+	haskell-cabal_src_prepare
+	cabal-mksetup
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-arch/pack/
@ 2024-10-01 21:03 Matt Turner
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2024-10-01 21:03 UTC (permalink / raw
  To: gentoo-commits

commit:     4c0db842e8b87c5487adf836124cb3c351ce394f
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  9 21:38:01 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 21:02:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0db842

app-arch/pack: Drop stable keywords

Depends on dev-haskell/* packages, which are losing stable keywords.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-arch/pack/pack-0.0.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/pack/pack-0.0.0.1.ebuild b/app-arch/pack/pack-0.0.0.1.ebuild
index 811e9dd596ad..14f3d3bc73e4 100644
--- a/app-arch/pack/pack-0.0.0.1.ebuild
+++ b/app-arch/pack/pack-0.0.0.1.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
 	dev-lang/ghc:=


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

end of thread, other threads:[~2024-10-01 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-24 20:07 [gentoo-commits] repo/gentoo:master commit in: app-arch/pack/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-10-01 21:03 Matt Turner

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