public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ip2loc/
@ 2023-06-27 15:29 Okamura Kazuya
  0 siblings, 0 replies; 4+ messages in thread
From: Okamura Kazuya @ 2023-06-27 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3f952f16ddd1ccb1ba4ba66ed919abe020b6952e
Author:     Okamura Kazuya <gentoo-guru <AT> danceylove <DOT> net>
AuthorDate: Tue Jun 27 15:27:31 2023 +0000
Commit:     Okamura Kazuya <trakrailysurely <AT> danceylove <DOT> net>
CommitDate: Tue Jun 27 15:27:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f952f16

dev-libs/ip2loc: new package, add 8.1.4

Signed-off-by: Okamura Kazuya <gentoo-guru <AT> danceylove.net>

 dev-libs/ip2loc/Manifest            |  1 +
 dev-libs/ip2loc/ip2loc-8.1.4.ebuild | 46 +++++++++++++++++++++++++++++++++++++
 dev-libs/ip2loc/metadata.xml        | 11 +++++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-libs/ip2loc/Manifest b/dev-libs/ip2loc/Manifest
new file mode 100644
index 000000000..8ca4ef44d
--- /dev/null
+++ b/dev-libs/ip2loc/Manifest
@@ -0,0 +1 @@
+DIST ip2loc-8.1.4.tar.gz 3698367 BLAKE2B 6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d SHA512 c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291

diff --git a/dev-libs/ip2loc/ip2loc-8.1.4.ebuild b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
new file mode 100644
index 000000000..10d30948e
--- /dev/null
+++ b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake autotools
+
+DESCRIPTION="IP2Location C Library"
+HOMEPAGE="https://github.com/chrislim2888/IP2Location-C-Library/"
+SRC_URI="https://github.com/chrislim2888/IP2Location-C-Library/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs"
+
+src_unpack() {
+	unpack ${A}
+	mv IP2Location-C-Library-${PV} ip2loc-${PV}
+}
+
+src_prepare() {
+	eautoreconf
+
+	eapply_user
+}
+
+src_configure() {
+	./configure --prefix=${T}/usr
+}
+
+src_compile() {
+	make
+}
+
+src_install() {
+	make install
+}
+
+pkg_preinst() {
+	mkdir -p ${D}/usr/lib/
+	mkdir -p ${D}/usr/include/
+	cp -a ${T}/usr/include/IP2Location.h ${D}/usr/include/
+	cp -a ${T}/usr/lib/libIP2Location* ${D}/usr/lib/
+	return
+}

diff --git a/dev-libs/ip2loc/metadata.xml b/dev-libs/ip2loc/metadata.xml
new file mode 100644
index 000000000..02ea0b5aa
--- /dev/null
+++ b/dev-libs/ip2loc/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>gentoo-guru@danceylove.net</email>
+    <name>Okamura Kazuya</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">chrislim2888/IP2Location-C-Library</remote-id>
+  </upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ip2loc/
@ 2023-06-29  0:02 Lucio Sauer
  0 siblings, 0 replies; 4+ messages in thread
From: Lucio Sauer @ 2023-06-29  0:02 UTC (permalink / raw
  To: gentoo-commits

commit:     0caefb37958f78b6ceadedf7d2377bbcb28ad66a
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jun 28 23:34:29 2023 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jun 28 23:34:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0caefb37

dev-libs/ip2loc: fix missing install steps

* replace make et al. with e-variants
* convert csv database to needed BIN via perl
* delete *.la files as per
  https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-libs/ip2loc/Manifest            |  2 +-
 dev-libs/ip2loc/ip2loc-8.1.4.ebuild | 35 ++++++++++++-----------------------
 2 files changed, 13 insertions(+), 24 deletions(-)

diff --git a/dev-libs/ip2loc/Manifest b/dev-libs/ip2loc/Manifest
index 8ca4ef44d..18820d3ea 100644
--- a/dev-libs/ip2loc/Manifest
+++ b/dev-libs/ip2loc/Manifest
@@ -1 +1 @@
-DIST ip2loc-8.1.4.tar.gz 3698367 BLAKE2B 6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d SHA512 c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291
+DIST ip2loc-8.1.4.gh.tar.gz 3698367 BLAKE2B 6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d SHA512 c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291

diff --git a/dev-libs/ip2loc/ip2loc-8.1.4.ebuild b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
index 10d30948e..f9a282b8c 100644
--- a/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
+++ b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
@@ -3,44 +3,33 @@
 
 EAPI=8
 
-inherit cmake autotools
+inherit autotools
 
 DESCRIPTION="IP2Location C Library"
 HOMEPAGE="https://github.com/chrislim2888/IP2Location-C-Library/"
-SRC_URI="https://github.com/chrislim2888/IP2Location-C-Library/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/chrislim2888/IP2Location-C-Library/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="static-libs"
 
-src_unpack() {
-	unpack ${A}
-	mv IP2Location-C-Library-${PV} ip2loc-${PV}
-}
-
-src_prepare() {
-	eautoreconf
+BDEPEND="dev-lang/perl"
 
-	eapply_user
-}
+S="${WORKDIR}/IP2Location-C-Library-${PV}"
 
 src_configure() {
-	./configure --prefix=${T}/usr
+	eautoreconf
+	default
 }
 
 src_compile() {
-	make
+	default
+	pushd data > /dev/null || die
+	perl ip-country.pl || die "Failed to generate database!"
+	popd || die
 }
 
 src_install() {
-	make install
-}
-
-pkg_preinst() {
-	mkdir -p ${D}/usr/lib/
-	mkdir -p ${D}/usr/include/
-	cp -a ${T}/usr/include/IP2Location.h ${D}/usr/include/
-	cp -a ${T}/usr/lib/libIP2Location* ${D}/usr/lib/
-	return
+	default
+	find "${ED}" -type f -name '*.la' -delete || die
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ip2loc/
@ 2024-04-27 16:40 Okamura Kazuya
  0 siblings, 0 replies; 4+ messages in thread
From: Okamura Kazuya @ 2024-04-27 16:40 UTC (permalink / raw
  To: gentoo-commits

commit:     930614c9561d4f6bb26392e237c898c758625215
Author:     Okamura Kazuya <gentoo-guru <AT> danceylove <DOT> net>
AuthorDate: Sat Apr 27 16:36:20 2024 +0000
Commit:     Okamura Kazuya <trakrailysurely <AT> danceylove <DOT> net>
CommitDate: Sat Apr 27 16:36:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=930614c9

dev-libs/ip2loc: bump 8.6.1

Signed-off-by: Okamura Kazuya <gentoo-guru <AT> danceylove.net>

 dev-libs/ip2loc/Manifest            |  1 +
 dev-libs/ip2loc/ip2loc-8.6.1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-libs/ip2loc/Manifest b/dev-libs/ip2loc/Manifest
index 18820d3eaa..90a90fe107 100644
--- a/dev-libs/ip2loc/Manifest
+++ b/dev-libs/ip2loc/Manifest
@@ -1 +1,2 @@
 DIST ip2loc-8.1.4.gh.tar.gz 3698367 BLAKE2B 6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d SHA512 c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291
+DIST ip2loc-8.6.1.gh.tar.gz 3564380 BLAKE2B 2b52af8b8539223f3c0ed3374df993cee2c9bfcdbf7954c4236191fa295a0d8826a18804bfcd1e03fc40fb30376bf2e438519b270285dee3f2221ff0eaefc851 SHA512 1c3c8198c7eadbcc8b3f274f46cd9fb56115c5ec3713bd6cf96743f9de4bd3029f2f90ed07c86c47626bbd6de2adb6d0ddf9a656f3fc5ddfc07ea9f1d43b2d06

diff --git a/dev-libs/ip2loc/ip2loc-8.6.1.ebuild b/dev-libs/ip2loc/ip2loc-8.6.1.ebuild
new file mode 100644
index 0000000000..4224101175
--- /dev/null
+++ b/dev-libs/ip2loc/ip2loc-8.6.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="IP2Location C Library"
+HOMEPAGE="https://github.com/chrislim2888/IP2Location-C-Library/"
+SRC_URI="https://github.com/chrislim2888/IP2Location-C-Library/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+S="${WORKDIR}/IP2Location-C-Library-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-lang/perl"
+
+src_configure() {
+	eautoreconf
+	default
+}
+
+src_compile() {
+	default
+	pushd data > /dev/null || die
+	perl ip-country.pl || die "Failed to generate database!"
+	popd || die
+}
+
+src_install() {
+	default
+	find "${ED}" -type f -name '*.la' -delete || die
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ip2loc/
@ 2024-05-05  1:17 Okamura Kazuya
  0 siblings, 0 replies; 4+ messages in thread
From: Okamura Kazuya @ 2024-05-05  1:17 UTC (permalink / raw
  To: gentoo-commits

commit:     870074b793bd954aecc84c9fbbbc730862b30d45
Author:     Okamura Kazuya <gentoo-guru <AT> danceylove <DOT> net>
AuthorDate: Sun May  5 01:10:00 2024 +0000
Commit:     Okamura Kazuya <trakrailysurely <AT> danceylove <DOT> net>
CommitDate: Sun May  5 01:10:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=870074b7

dev-libs/ip2loc: treeclean

Signed-off-by: Okamura Kazuya <gentoo-guru <AT> danceylove.net>

 dev-libs/ip2loc/Manifest            |  1 -
 dev-libs/ip2loc/ip2loc-8.1.4.ebuild | 35 -----------------------------------
 2 files changed, 36 deletions(-)

diff --git a/dev-libs/ip2loc/Manifest b/dev-libs/ip2loc/Manifest
index 90a90fe107..539902b517 100644
--- a/dev-libs/ip2loc/Manifest
+++ b/dev-libs/ip2loc/Manifest
@@ -1,2 +1 @@
-DIST ip2loc-8.1.4.gh.tar.gz 3698367 BLAKE2B 6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d SHA512 c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291
 DIST ip2loc-8.6.1.gh.tar.gz 3564380 BLAKE2B 2b52af8b8539223f3c0ed3374df993cee2c9bfcdbf7954c4236191fa295a0d8826a18804bfcd1e03fc40fb30376bf2e438519b270285dee3f2221ff0eaefc851 SHA512 1c3c8198c7eadbcc8b3f274f46cd9fb56115c5ec3713bd6cf96743f9de4bd3029f2f90ed07c86c47626bbd6de2adb6d0ddf9a656f3fc5ddfc07ea9f1d43b2d06

diff --git a/dev-libs/ip2loc/ip2loc-8.1.4.ebuild b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
deleted file mode 100644
index 4224101175..0000000000
--- a/dev-libs/ip2loc/ip2loc-8.1.4.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="IP2Location C Library"
-HOMEPAGE="https://github.com/chrislim2888/IP2Location-C-Library/"
-SRC_URI="https://github.com/chrislim2888/IP2Location-C-Library/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-S="${WORKDIR}/IP2Location-C-Library-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="dev-lang/perl"
-
-src_configure() {
-	eautoreconf
-	default
-}
-
-src_compile() {
-	default
-	pushd data > /dev/null || die
-	perl ip-country.pl || die "Failed to generate database!"
-	popd || die
-}
-
-src_install() {
-	default
-	find "${ED}" -type f -name '*.la' -delete || die
-}


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

end of thread, other threads:[~2024-05-05  1:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-05  1:17 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ip2loc/ Okamura Kazuya
  -- strict thread matches above, loose matches on Subject: below --
2024-04-27 16:40 Okamura Kazuya
2023-06-29  0:02 Lucio Sauer
2023-06-27 15:29 Okamura Kazuya

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