summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-05-03 11:54:20 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-05-03 11:54:29 +0200
commitfdca527edc1849ce7b23cc98a707bb39a2ff1e07 (patch)
tree58bfcd7cd1597bb9747cd089307ca5601c2c92c4 /dev-python/nnpy
parentnet-misc/icecast: Fixed openrc init script shebang. (diff)
downloadgentoo-fdca527edc1849ce7b23cc98a707bb39a2ff1e07.tar.gz
gentoo-fdca527edc1849ce7b23cc98a707bb39a2ff1e07.tar.bz2
gentoo-fdca527edc1849ce7b23cc98a707bb39a2ff1e07.zip
dev-python/nnpy: initial import; ebuild by me
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/nnpy')
-rw-r--r--dev-python/nnpy/Manifest1
-rw-r--r--dev-python/nnpy/metadata.xml12
-rw-r--r--dev-python/nnpy/nnpy-1.1.ebuild28
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/nnpy/Manifest b/dev-python/nnpy/Manifest
new file mode 100644
index 000000000000..5ec70c13325a
--- /dev/null
+++ b/dev-python/nnpy/Manifest
@@ -0,0 +1 @@
+DIST nnpy-1.1.tar.gz 3337 SHA256 5501378bf20862d3b552396314bb57756b1e189de1a7671985b51d033e0c8416 SHA512 099c77b0916507a8e49ac0c0cd8a48d5d99c00d1f762a133f3f6f1e8bb6ed556e13260f4414751a4ea8ba4a847670ff180017a2900e12977cd072d98b7b5133c WHIRLPOOL e1a9568d729c101246330a558a5a4dff88c8a6dccaf8f0d62d9f84ffce070f380c8e57259db2e5960e0e3884cce0a117de1cd39f435cae657ea315eaa4f18f60
diff --git a/dev-python/nnpy/metadata.xml b/dev-python/nnpy/metadata.xml
new file mode 100644
index 000000000000..6d910c627947
--- /dev/null
+++ b/dev-python/nnpy/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+</maintainer>
+<maintainer type="person">
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-python/nnpy/nnpy-1.1.ebuild b/dev-python/nnpy/nnpy-1.1.ebuild
new file mode 100644
index 000000000000..5b574dc9bf9a
--- /dev/null
+++ b/dev-python/nnpy/nnpy-1.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="cffi-based Python bindings for nanomsg"
+HOMEPAGE="https://github.com/nanomsg/nnpy"
+SRC_URI="https://github.com/nanomsg/nnpy/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-python/cffi[${PYTHON_USEDEP}]
+ dev-libs/nanomsg
+"
+RDEPEND="${DEPEND}"
+
+python_test() {
+ "${PYTHON}" "${S}/test.py" || die
+}