Contents of /branches/magellan-next/extras/zope-interface/zope-interface-3.6.4-r1.smage2
Parent Directory | Revision Log
Revision 8701 -
(show annotations)
(download)
Wed Jul 27 21:24:16 2011 UTC (13 years, 2 months ago) by niro
File size: 900 byte(s)
Wed Jul 27 21:24:16 2011 UTC (13 years, 2 months ago) by niro
File size: 900 byte(s)
-fixed a typo
1 | # $Id$ |
2 | |
3 | PNAME="zope-interface" |
4 | PVER="3.6.4" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-python" |
8 | |
9 | DESCRIPTION="Zope object interfaces for python." |
10 | HOMEPAGE="http://pypi.python.org/pypi/zope.interface/" |
11 | |
12 | DEPEND=">= dev-lang/python-2.7 |
13 | >= dev-python/setuptools-0.6.19" |
14 | |
15 | SRCFILE="${PNAME/-/.}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME/-/.}-${PVER}" |
17 | |
18 | sminclude python mtools |
19 | |
20 | SRC_URI=( |
21 | http://pypi.python.org/packages/source/${PNAME:0:1}/${PNAME/-/.}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd 'http://pypi.python.org/packages/source/${PNAME:0:1}/${PNAME/-/.}/?C=M;O=A' | lasttarball gz" |
26 | |
27 | src_install() |
28 | { |
29 | cd ${SRCDIR} |
30 | python_doinstall || die |
31 | |
32 | # install missing init |
33 | minstalldir $(get_python_libdir)/zope || die |
34 | minstallfile src/zope/__init__.py $(get_python_libdir)/zope/ || die |
35 | |
36 | # delete debug |
37 | rm ${BINDIR}/$(get_python_libdir)/zope/interface/_zope_interface_coptimizations.so || die |
38 | } |