Contents of /branches/magellan-next/extras/zope-interface/zope-interface-3.8.0-r1.smage2
Parent Directory | Revision Log
Revision 9071 -
(show annotations)
(download)
Tue Oct 4 15:07:31 2011 UTC (12 years, 11 months ago) by niro
File size: 900 byte(s)
Tue Oct 4 15:07:31 2011 UTC (12 years, 11 months ago) by niro
File size: 900 byte(s)
auto added: ver bump to 3.8.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="zope-interface" |
4 | PVER="3.8.0" |
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 | } |