Annotation of /branches/R11-stable/extras/zope-interface/zope-interface-4.0.3-r1.smage2
Parent Directory | Revision Log
Revision 15442 -
(hide annotations)
(download)
Wed Jan 2 11:46:45 2013 UTC (11 years, 8 months ago) by niro
File size: 892 byte(s)
Wed Jan 2 11:46:45 2013 UTC (11 years, 8 months ago) by niro
File size: 892 byte(s)
-release branches/R11-stable
1 | niro | 14626 | # $Id$ |
2 | |||
3 | PNAME="zope-interface" | ||
4 | PVER="4.0.3" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="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 | } |