From 10cebff95320509ac5300d577a77ffd8cb501da9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 19 Oct 2012 07:03:19 -0400 Subject: [PATCH 1/1] dev-python/python-kmod: add Python wrappers around libkmod. --- ChangeLog | 14 ++++++++++++++ Manifest | 3 +++ metadata.xml | 9 +++++++++ python-kmod-9999.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 metadata.xml create mode 100644 python-kmod-9999.ebuild diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..1f48d97 --- /dev/null +++ b/ChangeLog @@ -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 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/Manifest b/Manifest new file mode 100644 index 0000000..496044d --- /dev/null +++ b/Manifest @@ -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/metadata.xml b/metadata.xml new file mode 100644 index 0000000..7b35910 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@tremily.us + W. Trevor King + + diff --git a/python-kmod-9999.ebuild b/python-kmod-9999.ebuild new file mode 100644 index 0000000..188ba22 --- /dev/null +++ b/python-kmod-9999.ebuild @@ -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 +} -- 2.26.2