Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-validictory
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
python-validictory
Commits
ba845ff8
Commit
ba845ff8
authored
5 years ago
by
Ondřej Nový
Browse files
Options
Downloads
Patches
Plain Diff
Use pybuild for building package.
parent
b3e13213
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+1
-0
1 addition, 0 deletions
debian/changelog
debian/rules
+3
-27
3 additions, 27 deletions
debian/rules
with
4 additions
and
27 deletions
debian/changelog
+
1
−
0
View file @
ba845ff8
...
...
@@ -3,6 +3,7 @@ python-validictory (0.8.3-4) UNRELEASED; urgency=medium
* Use debhelper-compat instead of debian/compat.
* Use Python 3 for building docs.
* Drop Python 2 support.
* Use pybuild for building package.
-- Ondřej Nový <onovy@debian.org> Fri, 19 Jul 2019 23:56:45 +0200
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
3
−
27
View file @
ba845ff8
#!/usr/bin/make -f
DOC_PACKAGE_NAME=python-validictory-doc
PY2_PACKAGE_NAME=python-validictory
PY3_PACKAGE_NAME=python3-validictory
PACKAGE_DOCDIR=debian/$(DOC_PACKAGE_NAME)/usr/share/doc/$(DOC_PACKAGE_NAME)
PYVERS = $(shell pyversions -r)
PY3VERS = $(shell py3versions -r)
export PYBUILD_NAME=validictory
%:
dh $@ --with python3,sphinxdoc
dh $@ --with python3,sphinxdoc
--buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
rm -rvf ./docs/build ./*.egg-info ./build
override_dh_auto_build:
set -xe; \
for py in $(PYVERS) $(PY3VERS); do \
$$py setup.py build; \
done
dh_auto_build
make -C docs html
override_dh_auto_install:
set -xe; \
for py in $(PYVERS); do \
$$py setup.py install --skip-build --root debian/$(PY2_PACKAGE_NAME) \
--install-layout deb; \
done
set -xe; \
for py in $(PY3VERS); do \
$$py setup.py install --skip-build --root debian/$(PY3_PACKAGE_NAME) \
--install-layout deb; \
done
# Remove me when dh_python2 can handle this file
rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt
override_dh_installchangelogs:
dh_installchangelogs docs/changelog.rst
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment