mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 14:15:10 +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
|
||||
# -*- mode: makefile; coding: utf-8 -*-
|
||||
|
||||
PACKAGE_NAME = python-scikits.image
|
||||
PACKAGE_NAME = python-skimage
|
||||
PACKAGE_ROOT_DIR = $(CURDIR)/debian/${PACKAGE_NAME}
|
||||
|
||||
PYVERS = $(shell pyversions -vs)
|
||||
@@ -13,17 +13,12 @@ PYVER = $(shell pyversions -vd)
|
||||
|
||||
override_dh_clean:
|
||||
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
|
||||
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
|
||||
override_dh_auto_install: ${PYVERS:%=python-install%}
|
||||
find debian -wholename \*scikits/__init__.py -delete
|
||||
|
||||
# Per Python version logic -- install, test, move .so into -lib
|
||||
python-install%:
|
||||
@@ -40,7 +35,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
: # Run unittests
|
||||
export PYTHONPATH=$(PACKAGE_ROOT_DIR)/usr/lib/python$*/dist-packages; \
|
||||
python$* /usr/bin/nosetests -s \
|
||||
$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/scikits/image
|
||||
$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/skimage
|
||||
else
|
||||
: # Skip unittests due to nocheck
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user