-
Notifications
You must be signed in to change notification settings - Fork 5
/
pydispatcher-1.0.0.ebuild
36 lines (29 loc) · 1.62 KB
/
pydispatcher-1.0.0.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright (c) 2001-2003, Patrick K. O'Brien and Contributors
# Distributed under the terms of the BSD License
# $Header: /cvsroot/pydispatcher/pydispatch/pydispatcher-1.0.0.ebuild,v 1.2 2008/11/14 18:09:51 mcfletch Exp $
# This is a pretty trivial ebuild, as the python distutils support takes care of
# just about everything for us. Our only real problem is that the project name
# as far as distutils is concerned is PyDispatcher rather than pydispatcher.
# We get around that by defining DISTUTILS_NAME as the capitalised name,
# and then provide a similar customisation point DISTUTILS_VERSION which
# lets us define e.g. 1.0.0a1 (which is how the package is normally numbered)
# when an alpha/beta/etc version comes out with only minimal changes to this
# file.
inherit distutils
DISTUTILS_NAME="PyDispatcher"
DISTUTILS_VERSION="${PV}" # change when version has an a1 or similar extension
DESCRIPTION="Multi-producer-multi-consumer signal dispatching mechanism for Python"
HOMEPAGE="http://${PN}.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${DISTUTILS_NAME}-${DISTUTILS_VERSION}.tar.gz"
# This is only temporary during my local testing phase, the sourceforge project will be the final location
#SRC_URI="http://members.rogers.com/mcfletch/programming/${DISTUTILS_NAME}-${DISTUTILS_VERSION}.tar.gz"
LICENSE="BSD"
SLOT="0" # should only be the one version installed
# testing under Gentoo, though the package should be stable
KEYWORDS="~x86" # should work on all python-support (i.e. Gentoo) architectures
IUSE=""
DEPEND="virtual/python"
S="${WORKDIR}/${DISTUTILS_NAME}-${DISTUTILS_VERSION}"
src_install() {
distutils_src_install
}