Commits

Anonymous committed e392c74

setuptools fix download link

  • Participants
  • Parent commits 3a07592
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

var/vabs/setuptools/src/setuptools.SlackBuild

 VERSION=${VERSION:-"0.6c11"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"https://pypi.python.org/packages/source/s/${NAME}/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"2"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
+MAKEDEPENDS=${MAKEDEPENDS:-"python"}
 #----------------------------------------------------------------------------
 
+if [ "$NORUN" != 1 ]; then
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 for SRC in $(echo $LINK);do
 if [ ! -f $CWD/$(basename $SRC) ]
 then
-        wget -c $SRC
+        wget -c --no-check-certificate $SRC
 fi
 done
 #--------------------------------------------
 #
 #-----------------------------------------------------------------------
 
-echo "Configuring source..."
-#./configure --prefix=/usr \
-#  --libdir=/usr/lib${LIBDIRSUFFIX} \
-#  --infodir=/usr/info \
-#  --sysconfdir=/etc \
-#  --localstatedir=/var \
-#  --mandir=/usr/man \
-#  --with-included-gettext \
-#  --disable-debug \
-#  --program-prefix="" \
-#  --program-suffix="" \
-#  --build=$CONFIGURE_TRIPLET \
-#  $CONFIG_OPTIONS || exit 1
-
-#make || exit 1
-
-#make install DESTDIR=$PKG || exit
-
 python setup.py build
 python setup.py install --root=$PKG
 
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi