public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: net-misc/mbpoll/
@ 2024-08-28 10:57 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-08-28 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     0e4b0735b043ce45d2d6e6efcc3289927f11ba07
Author:     Zen <dev <AT> pyl <DOT> onl>
AuthorDate: Wed Aug 28 02:13:09 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Aug 28 02:14:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e4b0735

net-misc/mbpoll: add 1.5.2, 9999
please check this

Signed-off-by: Zen <dev <AT> pyl.onl>

 net-misc/mbpoll/Manifest            |  1 +
 net-misc/mbpoll/mbpoll-1.5.2.ebuild | 28 ++++++++++++++++++++++++++++
 net-misc/mbpoll/mbpoll-9999.ebuild  | 27 +++++++++++++++++++++++++++
 net-misc/mbpoll/metadata.xml        | 11 +++++++++++
 4 files changed, 67 insertions(+)

diff --git a/net-misc/mbpoll/Manifest b/net-misc/mbpoll/Manifest
new file mode 100644
index 000000000..6a3a77f9c
--- /dev/null
+++ b/net-misc/mbpoll/Manifest
@@ -0,0 +1 @@
+DIST mbpoll-1.5.2.tar.gz 100948 BLAKE2B 043337e7d1aef9f5b274c2da272ce35e175bf9486e3969888c790c11c5c24485b76dd92a60e93ee3aa1b0d2b208d254ff9d36b5706fa8f27a5e810cfaeed9fc2 SHA512 738b1b57002c0920ca574954d02609998d96d8a492a5a2b7178ff95a40442f957fabec88f116d883c5deb7a54bfc414a56583734a5314da4305db819da53b081

diff --git a/net-misc/mbpoll/mbpoll-1.5.2.ebuild b/net-misc/mbpoll/mbpoll-1.5.2.ebuild
new file mode 100644
index 000000000..0d52895fe
--- /dev/null
+++ b/net-misc/mbpoll/mbpoll-1.5.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="command line utility to communicate with ModBus slave (RTU or TCP) "
+HOMEPAGE="https://github.com/epsilonrt/mbpoll"
+SRC_URI="https://github.com/epsilonrt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-libs/libmodbus"
+RDEPEND="${DEPEND}"
+
+
+src_configure() {
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+}
+
+

diff --git a/net-misc/mbpoll/mbpoll-9999.ebuild b/net-misc/mbpoll/mbpoll-9999.ebuild
new file mode 100644
index 000000000..834c52585
--- /dev/null
+++ b/net-misc/mbpoll/mbpoll-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 cmake
+
+DESCRIPTION="command line utility to communicate with ModBus slave (RTU or TCP) "
+HOMEPAGE="https://github.com/epsilonrt/mbpoll"
+EGIT_REPO_URI="https://github.com/epsilonrt/${PN}"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-libs/libmodbus"
+RDEPEND="${DEPEND}"
+
+
+src_configure() {
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+}
+
+

diff --git a/net-misc/mbpoll/metadata.xml b/net-misc/mbpoll/metadata.xml
new file mode 100644
index 000000000..38c0e395f
--- /dev/null
+++ b/net-misc/mbpoll/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>dev@pyl.onl</email>
+		<name>Zen</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">epsilonrt/mbpoll</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: net-misc/mbpoll/
@ 2024-08-28 10:57 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-08-28 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4bcce5c07f519800c02b47b466d011526ccbdc41
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Wed Aug 28 03:39:38 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Aug 28 03:39:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4bcce5c0

net-misc/mbpoll: don't define src_configure/install

Signed-off-by: Zen <z <AT> pyl.onl>

 net-misc/mbpoll/mbpoll-1.5.2.ebuild | 11 -----------
 net-misc/mbpoll/mbpoll-9999.ebuild  | 11 -----------
 2 files changed, 22 deletions(-)

diff --git a/net-misc/mbpoll/mbpoll-1.5.2.ebuild b/net-misc/mbpoll/mbpoll-1.5.2.ebuild
index 0d52895fe..30d654f8a 100644
--- a/net-misc/mbpoll/mbpoll-1.5.2.ebuild
+++ b/net-misc/mbpoll/mbpoll-1.5.2.ebuild
@@ -15,14 +15,3 @@ KEYWORDS="~amd64"
 
 DEPEND="dev-libs/libmodbus"
 RDEPEND="${DEPEND}"
-
-
-src_configure() {
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-}
-
-

diff --git a/net-misc/mbpoll/mbpoll-9999.ebuild b/net-misc/mbpoll/mbpoll-9999.ebuild
index 834c52585..85fefda9f 100644
--- a/net-misc/mbpoll/mbpoll-9999.ebuild
+++ b/net-misc/mbpoll/mbpoll-9999.ebuild
@@ -14,14 +14,3 @@ SLOT="0"
 
 DEPEND="dev-libs/libmodbus"
 RDEPEND="${DEPEND}"
-
-
-src_configure() {
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-}
-
-


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

* [gentoo-commits] repo/proj/guru:master commit in: net-misc/mbpoll/
@ 2024-09-06  8:52 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-09-06  8:52 UTC (permalink / raw
  To: gentoo-commits

commit:     8c4aab66f72e9e6ad277bcf353ecb1b7d7e0818b
Author:     Zen <dev <AT> pyl <DOT> onl>
AuthorDate: Thu Sep  5 05:22:19 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep  5 17:30:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c4aab66

net-misc/mbpoll: remove hardcoded -O2 from cmake files

Signed-off-by: Zen <dev <AT> pyl.onl>

 net-misc/mbpoll/mbpoll-1.5.2.ebuild | 7 +++++++
 net-misc/mbpoll/mbpoll-9999.ebuild  | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/net-misc/mbpoll/mbpoll-1.5.2.ebuild b/net-misc/mbpoll/mbpoll-1.5.2.ebuild
index 30d654f8a..134348fc2 100644
--- a/net-misc/mbpoll/mbpoll-1.5.2.ebuild
+++ b/net-misc/mbpoll/mbpoll-1.5.2.ebuild
@@ -15,3 +15,10 @@ KEYWORDS="~amd64"
 
 DEPEND="dev-libs/libmodbus"
 RDEPEND="${DEPEND}"
+
+src_prepare() {
+	sed -i -e 's/add_definitions(-O2)//' CMakeLists.txt
+	sed -i -e 's/-O2 //' CMakeLists.txt
+
+	cmake_src_prepare
+}

diff --git a/net-misc/mbpoll/mbpoll-9999.ebuild b/net-misc/mbpoll/mbpoll-9999.ebuild
index 85fefda9f..18a20b422 100644
--- a/net-misc/mbpoll/mbpoll-9999.ebuild
+++ b/net-misc/mbpoll/mbpoll-9999.ebuild
@@ -14,3 +14,10 @@ SLOT="0"
 
 DEPEND="dev-libs/libmodbus"
 RDEPEND="${DEPEND}"
+
+src_prepare() {
+	sed -i -e 's/add_definitions(-O2)//' CMakeLists.txt
+	sed -i -e 's/-O2 //' CMakeLists.txt
+
+	cmake_src_prepare
+}


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

end of thread, other threads:[~2024-09-06  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 10:57 [gentoo-commits] repo/proj/guru:master commit in: net-misc/mbpoll/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-09-06  8:52 David Roman
2024-08-28 10:57 David Roman

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