summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <michael@xmw.de>2018-03-12 21:02:19 +0100
committerMichael Weber <michael@xmw.de>2018-03-12 21:02:19 +0100
commitde05af1b27dbe4dda8568e73299a92b85f745777 (patch)
tree207cde3e3a93dbb4a8dc248add7e361834832c1d
parentdev-util/cevelop-bin: initial import (diff)
downloadxmw-de05af1b27dbe4dda8568e73299a92b85f745777.zip
xmw-de05af1b27dbe4dda8568e73299a92b85f745777.tar.gz
xmw-de05af1b27dbe4dda8568e73299a92b85f745777.tar.bz2
sci-libs/pyvisa: initial import
Package-Manager: Portage-2.3.24, Repoman-2.3.6 Manifest-Sign-Key: 0x71D573A82F434065
-rw-r--r--sci-libs/pyvisa/metadata.xml8
-rw-r--r--sci-libs/pyvisa/pyvisa-9999.ebuild33
2 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/pyvisa/metadata.xml b/sci-libs/pyvisa/metadata.xml
new file mode 100644
index 0000000..a535b88
--- /dev/null
+++ b/sci-libs/pyvisa/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-libs/pyvisa/pyvisa-9999.ebuild b/sci-libs/pyvisa/pyvisa-9999.ebuild
new file mode 100644
index 0000000..a751761
--- /dev/null
+++ b/sci-libs/pyvisa/pyvisa-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit git-r3 distutils-r1
+
+DESCRIPTION="Python package with bindings to the Virtual Instrument Software Architecture VISA library"
+HOMEPAGE="https://pyvisa.readthedocs.org"
+EGIT_REPO_URI="https://github.com/pyvisa/pyvisa.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+
+src_compile() {
+ distutils-r1_src_compile
+ use doc && emake -C docs html
+}
+
+src_install() {
+ distutils-r1_src_install
+ if use doc ; then
+ dodoc -r docs/_build/html
+ fi
+ dodoc examples/*
+}