mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 15:07:14 +08:00
setuptools vs py2.7
This commit is contained in:
parent
206d7b1111
commit
b195ddb5d2
@ -5,18 +5,18 @@
|
||||
|
||||
pkgname=setuptools
|
||||
pkgver=0.6c11
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A collection of enhancements to the Python distutils"
|
||||
license=('PSF')
|
||||
arch=(i686 x86_64)
|
||||
url="http://peak.telecommunity.com/DevCenter/setuptools"
|
||||
depends=('python')
|
||||
depends=('python2')
|
||||
source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('7df2a529a074f613b509fb44feefe74e')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
mkdir -p $pkgdir/usr/lib/python2.6/site-packages
|
||||
python setup.py install --root=$pkgdir || return 1
|
||||
echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > $pkgdir/usr/lib/python2.6/site-packages/setuptools.pth
|
||||
mkdir -p $pkgdir/usr/lib/python2.7/site-packages
|
||||
python2 setup.py install --root=$pkgdir || return 1
|
||||
echo "/usr/lib/python2.7/site-packages/$pkgname-$pkgver-py2.7.egg" > $pkgdir/usr/lib/python2.7/site-packages/setuptools.pth
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user