Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed slot for 1.10.3 in order to prevent the overshadow over 1.10.0 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Marco Scardovi <marco@scardovi.com>
- Loading branch information
ScardracS
committed
Mar 21, 2021
1 parent
7feb348
commit ebd4806
Showing
3 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST clojure-1.10.0.tar.gz 678715 BLAKE2B 8f69a327e94e173864b3d8b81e92ab716c70be9fa59bbd836889cb75a8d44518a3aa2a8fbec50a04f2e7d1afdb07ffef2f7069077e22ef91f321c5fb122d2bb9 SHA512 d53d2322662974d2eed97d7870f0f91822de8acb91e30b50b0dca4186ee667c46b2b5863e080d89e3bfe63d090c6ac2e25617f74d1434bae2ca1e73ae9a36012 | ||
DIST clojure-1.10.3.tar.gz 683020 BLAKE2B ea57231375589d5c45b7e8a1fe87ea3f371e631733d5ae27d547e84a575cd7a54394fa401c920a7ec5e7218719f2ecd728a77e1d3e05c803f0620fcfeabd4199 SHA512 540c4c730a9f504f4e8a33e957fb150a70c3f1afa8e10205d23bb3c0528a46ca615b3a95dbedf367d4d0965d8eabc69b2d7f3bc144be9b4cb64fba085bfc6d9d | ||
DIST clojure-1.8.0.tar.gz 627688 BLAKE2B 7dc3029e38e574cd32c74cce1f3ae03890869023d5fb2e8138f2fdc4461b3f9e119c4b6042e2b7caee9561b664b49cbaf79378ef1fdd0fd78c4d712c3b9d95de SHA512 fa5714397e679f77260db054bdc0891a311e7bd14bfceb2dd0494480fb9cf21fc74dd295e75070105ff0cdd50842390a748d8782397c549f51d85d18d54a1231 | ||
DIST clojure-1.9.0.tar.gz 641645 BLAKE2B 767241c7f252a2977511adf257b1805f81a96594cff2b1b9837c782cfaabd49ae8e6eef30398e7e277952124e843967ac635985da97e2e7c5cc98ec177f3d79c SHA512 8877c654f6aa8ad990593e69b611388659973e5d1d46cf8f6cfae59c4033424a3c7eebd477539784cbd7974f7ff30580f76d8a4117414491f38e18ac3b4efb27 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 1999-2021 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
JAVA_PKG_IUSE="test" | ||
|
||
inherit java-pkg-2 java-ant-2 | ||
|
||
DESCRIPTION="General-purpose programming language with an emphasis on functional programming" | ||
HOMEPAGE="https://clojure.org/" | ||
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" | ||
|
||
LICENSE="EPL-1.0 Apache-2.0 BSD" | ||
SLOT="1.10" | ||
|
||
KEYWORDS="~amd64 ~x86 ~x86-linux" | ||
|
||
# Restrict test as broken due to file not found issue and more. | ||
RESTRICT="!test? ( test )" | ||
|
||
COMMON_DEPEND=" | ||
dev-java/spec-alpha:0.2 | ||
dev-java/core-specs-alpha:0.2 | ||
dev-java/ant-core:0" | ||
|
||
RDEPEND="${COMMON_DEPEND} | ||
>=virtual/jre-1.8" | ||
|
||
DEPEND="${COMMON_DEPEND} | ||
>=virtual/jdk-1.8" | ||
|
||
S="${WORKDIR}/${PN}-${PN}-${PV}" | ||
|
||
DOCS=( changes.md CONTRIBUTING.md readme.txt ) | ||
|
||
src_compile() { | ||
eant -Dmaven.compile.classpath=$(java-pkg_getjars core-specs-alpha-0.2,spec-alpha-0.2) -f build.xml jar | ||
} | ||
|
||
src_test() { | ||
eant -f build.xml test | ||
} | ||
|
||
src_install() { | ||
java-pkg_newjar "${PN}.jar" | ||
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main | ||
einstalldocs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<!-- maintainer-needed --> | ||
<upstream> | ||
<remote-id type="github">clojure/clojure</remote-id> | ||
</upstream> | ||
<maintainer type="person" proxied="yes"> | ||
<email>marco@scardovi.com</email> | ||
<name>Marco Scardovi</name> | ||
</maintainer> | ||
<maintainer type="project" proxied="proxy"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">clojure/clojure</remote-id> | ||
</upstream> | ||
</pkgmetadata> |