Annotation of /branches/magellan-next/extras/zope-interface/zope-interface-3.6.4-r1.smage2
Parent Directory | Revision Log
Revision 8701 -
(hide annotations)
(download)
Wed Jul 27 21:24:16 2011 UTC (12 years, 10 months ago) by niro
File size: 900 byte(s)
Wed Jul 27 21:24:16 2011 UTC (12 years, 10 months ago) by niro
File size: 900 byte(s)
-fixed a typo
1 | niro | 8669 | # $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 | niro | 8670 | minstallfile src/zope/__init__.py $(get_python_libdir)/zope/ || die |
35 | niro | 8669 | |
36 | niro | 8700 | # delete debug |
37 | niro | 8701 | rm ${BINDIR}/$(get_python_libdir)/zope/interface/_zope_interface_coptimizations.so || die |
38 | niro | 8669 | } |