[Python-modules-commits] [python-scipy] 01/01: mke some commands optional in debian/rules override_auto_install, when using dpkg-buildpackage -A
Sebastian Humenda
moomoc-guest at moszumanska.debian.org
Sun Sep 25 10:23:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
moomoc-guest pushed a commit to branch master
in repository python-scipy.
commit a542d45f2351815b847836e9b53ea4bc895813de
Author: Sebastian Humenda <shumenda at gmx.de>
Date: Sun Sep 25 12:23:30 2016 +0200
mke some commands optional in debian/rules override_auto_install, when using dpkg-buildpackage -A
---
debian/copyright | 16 ----------------
debian/rules | 12 ++++++------
2 files changed, 6 insertions(+), 22 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index 4444bad..7f1b761 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -192,19 +192,3 @@ License: BSD-3-clause
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
-License: Apache-2.0
- Licensed under the Apache License, Version 2.0 (the "License"); you may not
- use this file except in compliance with the License. You may obtain a copy
- of the License at
- .
- http://www.apache.org/licenses/LICENSE-2.0
- .
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- License for the specific language governing permissions and limitations
- under the License.
- .
- On Debian systems, the full text of the Apache License, Version 2.0
- can be found in the file
- `/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/rules b/debian/rules
index 703f06a..cdf27a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,12 +56,12 @@ install-python%:
override_dh_install: $(PY3VERS:%=install-python%) $(PY2VERS:%=install-python%)
dh_install
- find debian/python-scipy -type f -name '*_d.so' -delete
- find debian/python3-scipy -type f -name '*.cpython-3?d*.so' -delete
- find debian/python-scipy-dbg ! -type d ! -name '*_d.so' -delete
- find debian/python3-scipy-dbg ! -type d ! -name '*.cpython-3?d*.so' -delete
- find debian/python-scipy-dbg -depth -empty -exec rmdir {} \;
- find debian/python3-scipy-dbg -depth -empty -exec rmdir {} \;
+ if [ -d "debian/python-scipy" ]; then find debian/python-scipy -type f -name '*_d.so' -delete; fi
+ if [ -d "debian/python3-scipy" ]; then find debian/python3-scipy -type f -name '*.cpython-3?d*.so' -delete; fi
+ if [ -d "debian/python-scipy-dbg" ]; then find debian/python-scipy-dbg ! -type d ! -name '*_d.so' -delete; fi
+ if [ -d "debian/python3-scipy-dbg" ]; then find debian/python3-scipy-dbg ! -type d ! -name '*.cpython-3?d*.so' -delete; fi
+ if [ -d "debian/python-scipy-dbg" ]; then find debian/python-scipy-dbg -depth -empty -exec rmdir {} \;; fi
+ if [ -d "debian/python3-scipy-dbg" ]; then find debian/python3-scipy-dbg -depth -empty -exec rmdir {} \;; fi
rm -f $(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/LICENSE.txt;
rm -fr $(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/weave/examples/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-scipy.git
More information about the Python-modules-commits
mailing list