Skip to content

Commit

Permalink
dev-java/failureaccess: added (ltex-ls dependency)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerion0 authored and msva committed Jun 29, 2024
1 parent 28beaee commit 84c1b6d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-java/failureaccess/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST guava-32.1.3.tar.gz 5757923 BLAKE2B 6bba8f721399f3d346410f1d00f0f5d97e14e347cdcab70465b449c7d7226fc5d194c25f257029eca15d426ec23e5907632a526120387eb465b3132571855862 SHA512 8efd8072e0aafaa851e18a69af011cbaeba207a7ee2dbe2daee9f70729c1c785d054197e6bf032d30065245070088f9f2d7f1a01f244b00325a3ede9d00fb9ec

This comment has been minimized.

Copy link
@gerion0

gerion0 Jun 29, 2024

Author Contributor

I added it also temporarily in my own ebuild and needed to regenerate the Manifest due to a changed data format(?)
It generated extra lines for all ebuilds and metadata.

This comment has been minimized.

Copy link
@msva

msva Jul 1, 2024

Owner

It depends on the value of thin-manifests in metadata/layout.conf.
If it is set to true, then it only generates checksums for distfiles.
If not - for all the stuff in ebuild directory.

This comment has been minimized.

Copy link
@gerion0

gerion0 Jul 1, 2024

Author Contributor

That I didn't know. Thanks for the explanation!

25 changes: 25 additions & 0 deletions dev-java/failureaccess/failureaccess-32.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P=guava-${PV}

JAVA_PKG_IUSE="doc source"
MAVEN_ID="com.google.guava:failureaccess:1.0.1"

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="Guava's InternalFutureFailureAccess and InternalFutures classes."
HOMEPAGE="https://github.com/google/guava/"
SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> guava-${PV}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"

This comment has been minimized.

Copy link
@gerion0

gerion0 Jun 29, 2024

Author Contributor

Currently, you provide a stable ebuild (since this commit is a plain revert). Isn't it more "overlay comform" to put this to keyworded, so ~amd64...?

This comment has been minimized.

Copy link
@msva

msva Jul 1, 2024

Owner

👌


DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"

JAVA_SRC_DIR="futures/${PN}/src/com/google/common/util/concurrent/internal/"
19 changes: 19 additions & 0 deletions dev-java/failureaccess/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<description>Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription lang="en">
Contains com.google.common.util.concurrent.internal.InternalFutureFailureAccess
and InternalFutures. Most users will never need to use this artifact. Its
classes are conceptually a part of Guava, but they're in this separate artifact
so that Android libraries can use them without pulling in all of Guava (just as
they can use ListenableFuture by depending on the listenablefuture artifact).
</longdescription>
<upstream>
<remote-id type="github">google/guava</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 84c1b6d

Please sign in to comment.