Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-stdeb
tests-use-tablib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tests-use-tablib.patch of Package python-stdeb
Index: stdeb-0.9.0/test.sh =================================================================== --- stdeb-0.9.0.orig/test.sh +++ stdeb-0.9.0/test.sh @@ -9,7 +9,7 @@ rm -rf deb_dist # setup paths if [ "${PYEXE}" == "" ]; then - PYEXE=`which python`; + PYEXE=`which python3`; fi echo "using Python at ${PYEXE}" @@ -39,10 +39,10 @@ ${PYPI_INSTALL} --help > /dev/null # applying any patches here so this should be pretty small. MAX_DEB_SPECIFIC_SIZE=5000 -for i in `seq 1 3`; do +for i in `seq 1`; do if [ $i -eq "1" ]; then -SOURCE_PACKAGE=requests -SOURCE_RELEASE=2.6.0 +SOURCE_PACKAGE=tablib +SOURCE_RELEASE=0.13.0 SOURCE_TARBALL_DIR=${SOURCE_PACKAGE}-${SOURCE_RELEASE} SOURCE_TARBALL=${SOURCE_TARBALL_DIR}.tar.gz DEBSOURCE=${SOURCE_TARBALL_DIR} @@ -67,7 +67,7 @@ export DEB_BUILD_OPTIONS=nocheck # psyco # get a file to work with # ============================================================== -${PYPI_DOWNLOAD} ${SOURCE_PACKAGE} --release ${SOURCE_RELEASE} +# Tarball provided from rpm SOURCES # case 1: build from pre-existing source tarball with py2dsc # ============================================================== @@ -95,9 +95,8 @@ rm -rf deb_dist # ============================================================== tar xzf $SOURCE_TARBALL cd $SOURCE_TARBALL_DIR -which python -python -c "import sys; print('sys.version',sys.version)" -python setup.py --command-packages=stdeb.command sdist_dsc +$PYEXE -c "import sys; print('sys.version',sys.version)" +$PYEXE setup.py --command-packages=stdeb.command sdist_dsc cd deb_dist/$DEBSOURCE dpkg-buildpackage -rfakeroot -uc -us cd ../.. @@ -139,8 +138,7 @@ fi rm -rf deb_dist -#cleanup original tarball -rm -rf $SOURCE_TARBALL +#keep original tarball for next invocation done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor