commit:     91036ef072d479e33d82bd01b72a8b408459a82f
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Jun 15 14:44:11 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Wed Jun 15 14:44:11 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=91036ef0

dev-python/PyVISA: New package, ebuild written by me

Package-Manager: portage-2.2.28

 dev-python/PyVISA/PyVISA-1.8.ebuild  | 26 ++++++++++++++++++++++++++
 dev-python/PyVISA/PyVISA-9999.ebuild | 25 +++++++++++++++++++++++++
 dev-python/PyVISA/metadata.xml       | 21 +++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/dev-python/PyVISA/PyVISA-1.8.ebuild 
b/dev-python/PyVISA/PyVISA-1.8.ebuild
new file mode 100644
index 0000000..b0d315b
--- /dev/null
+++ b/dev-python/PyVISA/PyVISA-1.8.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python VISA bindings for GPIB, RS232, and USB instruments"
+HOMEPAGE="https://github.com/hgrecco/pyvisa-py";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+       $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
+       "
+DEPEND="${RDEPEND}"
+
+python_test() {
+       esetup.py test
+}
\ No newline at end of file

diff --git a/dev-python/PyVISA/PyVISA-9999.ebuild 
b/dev-python/PyVISA/PyVISA-9999.ebuild
new file mode 100644
index 0000000..0243852
--- /dev/null
+++ b/dev-python/PyVISA/PyVISA-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Python VISA bindings for GPIB, RS232, and USB instruments"
+HOMEPAGE="https://github.com/hgrecco/pyvisa-py";
+EGIT_REPO_URI="https://github.com/hgrecco/${PN}.git 
git://github.com/${PN}/${PN}.git"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+       $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
+       "
+DEPEND="${RDEPEND}"
+
+python_test() {
+       esetup.py test
+}
\ No newline at end of file

diff --git a/dev-python/PyVISA/metadata.xml b/dev-python/PyVISA/metadata.xml
new file mode 100644
index 0000000..c7529e2
--- /dev/null
+++ b/dev-python/PyVISA/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Marius Brehler</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription>
+    A Python package for support of the "Virtual Instrument Software
+    Architecture" (VISA), in order to control measurement devices and
+    test equipment via GPIB, RS232, Ethernet or USB.
+  </longdescription>
+  <upstream>
+    <remote-id type="pypi">PyVISA</remote-id>
+    <remote-id type="github">hgrecco/pyvisa</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to