Skip to content
Commits on Source (2)
pylibtiff (0.4.2-7) UNRELEASED; urgency=medium
* Drop obsolete get-orig-source script.
* Set compat to 12.
-- Antonio Valentino <antonio.valentino@tiscali.it> Sun, 21 Jul 2019 23:55:32 +0200
pylibtiff (0.4.2-6) unstable; urgency=medium
* Team upload.
......
......@@ -4,7 +4,7 @@ Uploaders: Antonio Valentino <antonio.valentino@tiscali.it>
Section: python
Priority: optional
Testsuite: autopkgtest-pkg-python
Build-Depends: debhelper (>= 11),
Build-Depends: debhelper (>= 12),
dh-python,
libtiff-dev,
python3-all-dev,
......
#!/bin/sh -e
COMPRESS=xz
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
mkdir -p ../tarballs
cd ../tarballs
# need to clean up the tarballs dir first because upstream tarball might
# contain a directory with unpredictable name
rm -rf *
git clone --quiet https://github.com/pearu/pylibtiff
cd $NAME
VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
# for esthetical reasons set file timestamps (if git-restore-mtime is installed)
git restore-mtime || true
cd ..
TARDIR=${NAME}-${VERSION}
mv ${NAME} ${TARDIR}
rm -rf ${TARDIR}/.git
rm -rf ${TARDIR}/libtiff/bitarray-*
GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
rm -rf ${TARDIR}
......@@ -16,6 +16,3 @@ override_dh_auto_install:
override_dh_python3:
dh_python3
dh_numpy3
get-orig-source:
./debian/get-orig-source