mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-10 12:35:06 +08:00
removing residual of scikits.image in favor of skimage in debian/rules
This commit is contained in:
committed by
Stefan van der Walt
parent
f695517af4
commit
adcc59efe9
Vendored
+3
-8
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# -*- mode: makefile; coding: utf-8 -*-
|
# -*- mode: makefile; coding: utf-8 -*-
|
||||||
|
|
||||||
PACKAGE_NAME = python-scikits.image
|
PACKAGE_NAME = python-skimage
|
||||||
PACKAGE_ROOT_DIR = $(CURDIR)/debian/${PACKAGE_NAME}
|
PACKAGE_ROOT_DIR = $(CURDIR)/debian/${PACKAGE_NAME}
|
||||||
|
|
||||||
PYVERS = $(shell pyversions -vs)
|
PYVERS = $(shell pyversions -vs)
|
||||||
@@ -13,17 +13,12 @@ PYVER = $(shell pyversions -vd)
|
|||||||
|
|
||||||
override_dh_clean:
|
override_dh_clean:
|
||||||
ifeq (,$(filter noclean,$(DEB_BUILD_OPTIONS)))
|
ifeq (,$(filter noclean,$(DEB_BUILD_OPTIONS)))
|
||||||
rm -rf build doc/build doc/auto_examples *-stamp scikits.image.egg-info
|
rm -rf build doc/build doc/auto_examples *-stamp skimage.egg-info
|
||||||
dh_clean
|
dh_clean
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Prune toplevel scikits/__init__.py to avoid conflicts across future
|
|
||||||
# scikits- packages, and rely on dh_python to create such one if
|
|
||||||
# necessary
|
|
||||||
|
|
||||||
# Build docs during install
|
# Build docs during install
|
||||||
override_dh_auto_install: ${PYVERS:%=python-install%}
|
override_dh_auto_install: ${PYVERS:%=python-install%}
|
||||||
find debian -wholename \*scikits/__init__.py -delete
|
|
||||||
|
|
||||||
# Per Python version logic -- install, test, move .so into -lib
|
# Per Python version logic -- install, test, move .so into -lib
|
||||||
python-install%:
|
python-install%:
|
||||||
@@ -40,7 +35,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|||||||
: # Run unittests
|
: # Run unittests
|
||||||
export PYTHONPATH=$(PACKAGE_ROOT_DIR)/usr/lib/python$*/dist-packages; \
|
export PYTHONPATH=$(PACKAGE_ROOT_DIR)/usr/lib/python$*/dist-packages; \
|
||||||
python$* /usr/bin/nosetests -s \
|
python$* /usr/bin/nosetests -s \
|
||||||
$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/scikits/image
|
$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/skimage
|
||||||
else
|
else
|
||||||
: # Skip unittests due to nocheck
|
: # Skip unittests due to nocheck
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user