]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
setuptools: small fixes
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 25 Jul 2007 21:12:01 +0000 (21:12 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 25 Jul 2007 21:12:01 +0000 (21:12 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1301 370017ae-e619-0410-ac65-c121f96126d4

dev/python/setuptools/setuptools.build

index 2cde1156b35b12ee4a516f1a7f3acb5bd24cfcc6..add08d5d33fd6b2a1ad55b5d7018d2ef848b2df6 100755 (executable)
@@ -39,8 +39,8 @@ TMP=${TMP:=/tmp}
 
 RTOOL="wget"
 PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://peak.telecommunity.com/dist/ez_setup.py"
+SRC="ez_setup.py"
+URL="http://peak.telecommunity.com/dist/$SRC"
 
 if [ "$ARCH" == "x86_64" ]; then
   LIBDIR=/usr/lib64
@@ -72,8 +72,7 @@ fi
 
 cd $TMP
 
-cd $PACKAGE-$VERSION
-mv $SRC_DIR/ez_setup.py .
+mv $SRC_DIR/$SRC .
 python ez_setup.py install || exit $ERROR_INSTALL
 
 CWD="`pwd`"