dev-python/python-kmod: add Python wrappers around libkmod.
authorW. Trevor King <wking@tremily.us>
Fri, 19 Oct 2012 11:03:19 +0000 (07:03 -0400)
committerW. Trevor King <wking@tremily.us>
Fri, 19 Oct 2012 11:03:19 +0000 (07:03 -0400)
dev-python/python-kmod/ChangeLog [new file with mode: 0644]
dev-python/python-kmod/Manifest [new file with mode: 0644]
dev-python/python-kmod/metadata.xml [new file with mode: 0644]
dev-python/python-kmod/python-kmod-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/python-kmod/ChangeLog b/dev-python/python-kmod/ChangeLog
new file mode 100644 (file)
index 0000000..1f48d97
--- /dev/null
@@ -0,0 +1,14 @@
+# ChangeLog for sci-libs/pycomedi
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*python-kmod-9999 (19 Oct 2012)
+
+  19 Oct 2012; W. Trevor King <wking@drexel.edu> python-kmod-9999.ebuild:
+  - Created ebuild suite for python-kmod.
+  - Added initial ChangeLog which should be updated whenever the
+  package is updated in any way. This changelog is targetted to
+  users. This means that the comments should well explained and
+  written in clean English. The details about writing correct
+  changelogs are explained in the skel.ChangeLog file which you can
+  find in the root directory of the portage repository.
diff --git a/dev-python/python-kmod/Manifest b/dev-python/python-kmod/Manifest
new file mode 100644 (file)
index 0000000..496044d
--- /dev/null
@@ -0,0 +1,3 @@
+EBUILD python-kmod-9999.ebuild 771 SHA256 a7012041d76f81bce87f08c97c2b6e0dc6e7a1f56c260388ba68ac6f869032db SHA512 504e41e44a9b52dc399a70a7cc8d6e5f2c03abf0d41585489ff9e2c944e9b6f393b84df142758eb31f5e8325d862cf5ae518c70aa155d9c107a6c0fe22725b41 WHIRLPOOL 250f90699c3a64708834515064e703b580a556988660cc6ffbfbe857bae57d57c85b243450834a2703df5250c3d35658bbc91be04565b98a0f0416b47ff23321
+MISC ChangeLog 646 SHA256 190ff98a334583f1a29a99d4c6ebbf8d2bf5de4f5cb4e2deca2d6916fa756159 SHA512 db4490f285b1818319508d235b67ef0b79aea5599b5dfdcbc9139c7e0f1075daae378f4476228aab80fc8c956a96760dc69d8293ec356dcefae9ec298049ab99 WHIRLPOOL abc79d61c55c1a5370ec762ab40fe022ccd5c0a5ddef88bdb8d5c02944ee65dfd360ddfa8d73d84ab6738dcb759ddc2f7152c135ac11e2fa01883604a599edaa
+MISC metadata.xml 247 SHA256 30b3270d8e655f6c190d3148f49b9364795beb41991502630e6631886ef107ea SHA512 d752eb964b367c9f9b2d2c3e010170bbc81e1a3b09f34fbd04b2f28df41f248a11d6531cf7334355185111990ac1744f587e2c631d03444dd642b71e0467e833 WHIRLPOOL 2e3b6628b0e6a4bb9e199b11aaae839addc659c185883af3a0399e8351446c2d11d2d095c2d22ddb89935a74900bea08aefc4bd97d4efc1bbcbcca1e4af1b5fa
diff --git a/dev-python/python-kmod/metadata.xml b/dev-python/python-kmod/metadata.xml
new file mode 100644 (file)
index 0000000..7b35910
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@tremily.us</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-kmod/python-kmod-9999.ebuild b/dev-python/python-kmod/python-kmod-9999.ebuild
new file mode 100644 (file)
index 0000000..188ba22
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.6 3:3.2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.[01]"
+
+inherit eutils distutils
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-2
+       EGIT_REPO_URI="git://github.com/wking/${PN}.git"
+       EGIT_MASTER="cython"
+       SRC_URI=""
+else
+       inherit vcs-snapshot
+       SRC_URI="https://github.com/wking/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Pythonic wrappers around the libkmod kernel module management."
+HOMEPAGE="https://github.com/agrover/${PN}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+RDEPEND="sys-apps/kmod"
+DEPEND="$RDEPEND
+       >=dev-python/cython-0.16"
+
+src_install() {
+       distutils_src_install
+       dodoc README
+}