aboutsummaryrefslogblamecommitdiffstats
path: root/main/py-setuptools/APKBUILD
blob: 490e15f5c23f2215d9cd6c0bf5a714bcd89c74b8 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                         

                       
             
        
                                                              
                                            
             

                
                        
          
              
                                                                                                  
 
                                     
         
                       

                                         
 
           

                                                                          

                                                                                 
                                         


                                                                    

                                                                                                                                                                       
# Contributor: Andrew Manison <amanison@anselsystems.com>
# Maintainer: 
pkgname=py-setuptools
_pkgname=${pkgname#py-}
pkgver=0.6c11
pkgrel=3
pkgdesc="A collection of enhancements to the Python distutils"
url="http://pypi.python.org/pypi/setuptools"
arch="noarch"
license="PSF"
depends="python"
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
	# we don't provide a non-suffixed easy_install
	echo "Removing non-suffixed easy_install ( $pkgdir/usr/bin/easy_install)"
	rm "$pkgdir"/usr/bin/easy_install
}

md5sums="7df2a529a074f613b509fb44feefe74e  setuptools-0.6c11.tar.gz"
sha256sums="630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3  setuptools-0.6c11.tar.gz"
sha512sums="5eaaa46af97fdf8ebca9b8768a8c6aa65e6c5028df44ccc141310989659f6e92069679ba160ac42eef9751cf89867a58035eac6cf4225a712bd0176fb685786e  setuptools-0.6c11.tar.gz"