public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/libm2k/
@ 2020-10-07 20:26 Rick Farina
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Farina @ 2020-10-07 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7b8f4150702735bbb00f5f0a1782f684ad123096
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  6 20:10:59 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 20:26:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8f4150

net-wireless/libm2k: initial ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/libm2k/Manifest                    |  1 +
 net-wireless/libm2k/libm2k-0.0_p20201005.ebuild | 44 +++++++++++++++++++++++++
 net-wireless/libm2k/libm2k-9999.ebuild          | 44 +++++++++++++++++++++++++
 net-wireless/libm2k/metadata.xml                | 15 +++++++++
 4 files changed, 104 insertions(+)

diff --git a/net-wireless/libm2k/Manifest b/net-wireless/libm2k/Manifest
new file mode 100644
index 00000000000..ba466716103
--- /dev/null
+++ b/net-wireless/libm2k/Manifest
@@ -0,0 +1 @@
+DIST libm2k-0.0_p20201005.tar.gz 590923 BLAKE2B 47b018ca8524a30d2d22c387c45361a3765ef356a481ff144783e459f673f3c00ba122cfc086b4f7d3cef2f6847b9adee3bc1eec4f6ee52eb355a9625b29b7c6 SHA512 60ca79048408e3ee6b09978f417cc8a0b67982fe9ac62563331c96fb503af22b050803f9d10598e9edd02eb3af396c1ad0d16772ae3cd3d16c251bd588a682c8

diff --git a/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild b/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild
new file mode 100644
index 00000000000..25cde65f485
--- /dev/null
+++ b/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-single-r1 udev
+
+DESCRIPTION="A C++ library for interfacing with the ADALM2000"
+HOMEPAGE="https://github.com/analogdevicesinc/libm2k"
+if [ "${PV}" = "9999" ]; then
+	EGIT_REPO_URI="https://github.com/analogdevicesinc/libm2k.git"
+	inherit git-r3
+else
+	COMMIT="f98dfa42134d2dff458c7832842d1f51c3131aa4"
+	SRC_URI="https://github.com/analogdevicesinc/libm2k/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${COMMIT}"
+	KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+	net-libs/libiio
+	"
+DEPEND="${RDEPEND}
+	dev-lang/swig
+"
+
+src_configure() {
+	mycmakeargs=(
+		-DUDEV_RULES_PATH="$(get_udevdir)"/rules.d
+		-DCMAKE_SKIP_BUILD_RPATH=TRUE
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	#this seems to not compile things
+	python_optimize
+}

diff --git a/net-wireless/libm2k/libm2k-9999.ebuild b/net-wireless/libm2k/libm2k-9999.ebuild
new file mode 100644
index 00000000000..25cde65f485
--- /dev/null
+++ b/net-wireless/libm2k/libm2k-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-single-r1 udev
+
+DESCRIPTION="A C++ library for interfacing with the ADALM2000"
+HOMEPAGE="https://github.com/analogdevicesinc/libm2k"
+if [ "${PV}" = "9999" ]; then
+	EGIT_REPO_URI="https://github.com/analogdevicesinc/libm2k.git"
+	inherit git-r3
+else
+	COMMIT="f98dfa42134d2dff458c7832842d1f51c3131aa4"
+	SRC_URI="https://github.com/analogdevicesinc/libm2k/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${COMMIT}"
+	KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+	net-libs/libiio
+	"
+DEPEND="${RDEPEND}
+	dev-lang/swig
+"
+
+src_configure() {
+	mycmakeargs=(
+		-DUDEV_RULES_PATH="$(get_udevdir)"/rules.d
+		-DCMAKE_SKIP_BUILD_RPATH=TRUE
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	#this seems to not compile things
+	python_optimize
+}

diff --git a/net-wireless/libm2k/metadata.xml b/net-wireless/libm2k/metadata.xml
new file mode 100644
index 00000000000..5e6b1e4eb83
--- /dev/null
+++ b/net-wireless/libm2k/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+		<name>Rick Farina</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>radio@gentoo.org</email>
+		<name>Radio</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">analogdevicesinc/libm2k</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/libm2k/
@ 2021-02-15  3:18 Rick Farina
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Farina @ 2021-02-15  3:18 UTC (permalink / raw
  To: gentoo-commits

commit:     7f024f65235a51f58757b92362ebc2f04df1453e
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 15 03:09:44 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 03:18:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f024f65

net-wireless/libm2k: python bump

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/libm2k/libm2k-0.0_p20201005.ebuild | 4 ++--
 net-wireless/libm2k/libm2k-9999.ebuild          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild b/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild
index 0456b28086e..c5b966c0b7f 100644
--- a/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild
+++ b/net-wireless/libm2k/libm2k-0.0_p20201005.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit cmake python-single-r1 udev
 

diff --git a/net-wireless/libm2k/libm2k-9999.ebuild b/net-wireless/libm2k/libm2k-9999.ebuild
index 0456b28086e..c5b966c0b7f 100644
--- a/net-wireless/libm2k/libm2k-9999.ebuild
+++ b/net-wireless/libm2k/libm2k-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit cmake python-single-r1 udev
 


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

end of thread, other threads:[~2021-02-15  3:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-07 20:26 [gentoo-commits] repo/gentoo:master commit in: net-wireless/libm2k/ Rick Farina
  -- strict thread matches above, loose matches on Subject: below --
2021-02-15  3:18 Rick Farina

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