public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/leiningen-bin/
Date: Sun, 28 Oct 2018 22:39:58 +0000 (UTC)	[thread overview]
Message-ID: <1540766221.e051307c6b3462ca0adf31f2cf669a4d5900fc05.monsieurp@gentoo> (raw)

commit:     e051307c6b3462ca0adf31f2cf669a4d5900fc05
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 23 21:56:21 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 22:37:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e051307c

dev-java/leiningen-bin: version bump.

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-java/leiningen-bin/Manifest                   |  2 +
 dev-java/leiningen-bin/leiningen-bin-2.8.0.ebuild | 62 +++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-java/leiningen-bin/Manifest b/dev-java/leiningen-bin/Manifest
index cc878c00afc..5a2322219c5 100644
--- a/dev-java/leiningen-bin/Manifest
+++ b/dev-java/leiningen-bin/Manifest
@@ -2,3 +2,5 @@ DIST leiningen-2.7.0-standalone.jar 15366772 BLAKE2B f8156298f0b0fc2dc87b7534796
 DIST leiningen-2.7.0.sh 4301 BLAKE2B f08d161c1c45c994ec361636891f72cf560248e33aacebacd821d3af96d7d5215d9cfdf17a4dd62e10d7dde34abaa42578956a0a38fa33e5226a44052426d155 SHA512 241357de3f19dfe1c729c14d1540140fccdd6a6c7bae76d6ccfe7a28cdff95b01f52a671ccd2d6712e11ff33115c720906e34a5118ff6bb6d232520d77125f5d
 DIST leiningen-2.7.1-standalone.jar 15370238 BLAKE2B 8b33bb04fc8d9c9d45a557833e2a7febf1cf1130081a39e9d22cdf6df23677f1b2bf4578a1b7e2f44635ceb5178f343584b8104acbb3f94ae8af9a60613af4ca SHA512 6f0ac01917b273c063dd16d8a5e98cba0265ba19766ce6a2c1e160367e3514e637c969f831384845e752cde015e1357eecac7141259e279584577f4f527bc08a
 DIST leiningen-2.7.1.sh 4581 BLAKE2B 966db930da0d4855dc4ee84d1035fce5d05f6938032db31302489e9a729e4516bb1adfd3fb8e49d39c1fe031ee9d725c8f36112ddb678120f96aded332b20742 SHA512 88e52f843a9b3cc4ebe2d8ffef1bec5e52a9e1e492d69b75c1482f7a97f6bcb766360502a5f1270ced1f4c1419af8b0cccd79219dc333a7305d3e4b58082d1e6
+DIST leiningen-2.8.0-standalone.jar 13541842 BLAKE2B 79697751b9da90a3f61bd4b8722436d1af1ce9f8db5c0e3a68d15d006f2afcb9518ab2034554b9b8a8e5f8bb991b304d51b8f45fb9a77d7337718035dc271e7d SHA512 e16359b2d211f9a72eeb9b672a94155f49531cbb731df11451b76ec30ad83be4a22e0b2ecc582bb01fdadd6822f56f27d42fa214df222f6c95e0fde64cb305ed
+DIST leiningen-2.8.0.sh 4335 BLAKE2B 951cc9b69e726bbb84c88b8b6407386c878cb1521c5cd79c7ce39ed48805cd24e9af0102f21cd7e852a024830b151751d42e7524f729bcca40f0e7de013ceb8b SHA512 08a5e2fc68ac3bd34dc32558088bd2ff79c9d72c54a610cfcd8c79fa5dcb98ad28d6950cb91b88081d024d5be881a168c2f9235c7888aa36c0f0e7e1f124169f

diff --git a/dev-java/leiningen-bin/leiningen-bin-2.8.0.ebuild b/dev-java/leiningen-bin/leiningen-bin-2.8.0.ebuild
new file mode 100644
index 00000000000..dd80a3d2fd2
--- /dev/null
+++ b/dev-java/leiningen-bin/leiningen-bin-2.8.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit java-pkg-2
+
+MY_PN="${PN%-bin}"
+MY_PNV="${MY_PN}-${PV}"
+
+DESCRIPTION="Automate Clojure projects without setting your hair on fire"
+HOMEPAGE="https://leiningen.org/"
+SRC_URI="
+	https://github.com/technomancy/${MY_PN}/releases/download/${PV}/${MY_PNV}-standalone.zip -> ${MY_PNV}-standalone.jar
+	https://raw.githubusercontent.com/technomancy/${MY_PN}/${PV}/bin/lein-pkg -> ${MY_PNV}.sh
+"
+
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6"
+
+RESTRICT="test"
+
+src_unpack() {
+	mkdir -p "${S}" || die "Can't mkdir ${S}"
+	cd "${S}"	|| die "Can't enter ${S}"
+	for file in ${A}; do
+		einfo "Copying ${file}"
+		cp "${DISTDIR}/${file}" "${S}/" || die "Can't copy ${file}"
+	done
+}
+
+src_prepare() {
+	einfo "Copying leinrc"
+	cp "${FILESDIR}/leinrc" "${S}/" || die "Can't copy leinrc"
+	einfo "Patching leinrc"
+	sed -i "s^@@PN@@^${PN}^" "${S}/leinrc" || die "Can't patch leinrc"
+
+	einfo "Renaming lein-pkg"
+	# Rename generically to help user patching
+	mv "${S}/${MY_PNV}.sh" "${S}/lein" || die "Can't rename to lein"
+
+	einfo "Patching lein"
+	java-pkg_init_paths_
+	sed -i "s|^LEIN_JAR=.*$|LEIN_JAR=${EPREFIX}/${JAVA_PKG_JARDEST#/}/${PN}.jar|" "${S}/lein" \
+		|| die "Can't patch LEIN_JAR in lein"
+
+	default
+}
+
+src_compile() { :; }
+
+src_install() {
+	dobin "${S}/lein"
+	java-pkg_newjar "${MY_PNV}-standalone.jar"
+	insinto /etc
+	doins "${S}/leinrc"
+	fperms 0644 "/etc/leinrc"
+}


             reply	other threads:[~2018-10-28 22:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-28 22:39 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-18 11:05 [gentoo-commits] repo/gentoo:master commit in: dev-java/leiningen-bin/ Miroslav Šulc
2024-03-18  4:45 Sam James
2024-03-17 19:29 Arthur Zamarin
2024-03-03 10:14 Miroslav Šulc
2024-03-03  0:54 Sam James
2024-02-29 22:17 Sam James
2024-02-16 11:32 Miroslav Šulc
2024-01-30  9:10 Miroslav Šulc
2024-01-30  9:10 Miroslav Šulc
2022-06-02  6:20 Miroslav Šulc
2022-05-31  9:21 Jakov Smolić
2022-05-31  8:32 Jakov Smolić
2022-04-30  9:24 Florian Schmaus
2022-02-23  9:39 Miroslav Šulc
2021-02-28 23:28 Sam James
2019-07-26 19:33 Kent Fredric
2019-01-22 14:19 Miroslav Šulc
2018-11-06 22:35 Patrice Clement
2018-10-28 22:39 Patrice Clement
2017-05-10 16:22 Patrice Clement
2017-05-10 11:46 Kent Fredric
2017-05-10 11:46 Kent Fredric
2016-10-07 15:42 Kent Fredric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1540766221.e051307c6b3462ca0adf31f2cf669a4d5900fc05.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox