From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/geoip-java/
Date: Tue, 26 Jan 2016 09:16:45 +0000 (UTC) [thread overview]
Message-ID: <1453799711.114c2afed729c872b059913577f1f117aba3f59a.monsieurp@gentoo> (raw)
commit: 114c2afed729c872b059913577f1f117aba3f59a
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 09:12:17 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 09:15:11 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114c2afe
dev-java/geoip-java: Initial import. Fixes bug 313437.
Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/geoip-java/Manifest | 1 +
dev-java/geoip-java/geoip-java-1.3.0.ebuild | 44 +++++++++++++++++++++++++++++
dev-java/geoip-java/metadata.xml | 15 ++++++++++
3 files changed, 60 insertions(+)
diff --git a/dev-java/geoip-java/Manifest b/dev-java/geoip-java/Manifest
new file mode 100644
index 0000000..ef1ccb4
--- /dev/null
+++ b/dev-java/geoip-java/Manifest
@@ -0,0 +1 @@
+DIST geoip-java-1.3.0.zip 138673 SHA256 be987fd9ca10d1288660a09dac28a1402a89d1f8abb557ca54eeea4f552fd60e SHA512 3925a94072a97dac732f4a77f4f141e1484c630b2122b4322cb487c209adbbb30936b782579943c1c766b43ef4ad0db3e264c738ad777656706272ca53ccf85b WHIRLPOOL 614fd9c0de213bd970c7d1d10223a6767d218ae911bf534a35c350af03518adc5d0cf134fbc33e6a7fe280ff9cbc376961868451f82dbdb158d4185b7bfbb80e
diff --git a/dev-java/geoip-java/geoip-java-1.3.0.ebuild b/dev-java/geoip-java/geoip-java-1.3.0.ebuild
new file mode 100644
index 0000000..377a2b7
--- /dev/null
+++ b/dev-java/geoip-java/geoip-java-1.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="source doc examples"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="geoip-api-java"
+
+DESCRIPTION="Java library for lookup countries by IP addresses."
+HOMEPAGE="https://github.com/maxmind"
+SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.zip -> ${P}.zip"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ rm -rf src/test || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ dodoc README.md Changes.md || die
+
+ use examples && java-pkg_doexamples examples/*
+}
+
+pkg_postinst() {
+ einfo "Country and City data files can be downloaded here:"
+ einfo " http://www.maxmind.com/app/geolitecountry"
+ einfo " http://www.maxmind.com/app/geolitecity"
+}
diff --git a/dev-java/geoip-java/metadata.xml b/dev-java/geoip-java/metadata.xml
new file mode 100644
index 0000000..16b146c
--- /dev/null
+++ b/dev-java/geoip-java/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">maxmind/geoip-api-java</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2016-01-26 9:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 9:16 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-03-10 16:36 [gentoo-commits] repo/gentoo:master commit in: dev-java/geoip-java/ Patrice Clement
2016-05-12 10:00 Patrice Clement
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=1453799711.114c2afed729c872b059913577f1f117aba3f59a.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