Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
monkeysign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
monkeysphere
monkeysign
Commits
ebac5e93
Commit
ebac5e93
authored
8 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
generate version.py by hand in debian package
we have to do this because upstream doesn't write it when we fake it
parent
93c63736
Branches
Branches containing commit
Tags
2.1.4
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/rules
+7
-0
7 additions, 0 deletions
debian/rules
with
7 additions
and
0 deletions
debian/rules
+
7
−
0
View file @
ebac5e93
...
...
@@ -13,6 +13,13 @@ export PYTEST_USENETWORK
%
:
dh
$@
--with
=
python2,sphinxdoc
--buildsystem
=
pybuild
override_dh_auto_build
:
echo
"# coding: utf-8"
>
monkeysign/_version.py
echo
"# file generated by debian package"
>>
monkeysign/_version.py
echo
"# see https://github.com/pypa/setuptools_scm/issues/101"
>>
monkeysign/_version.py
echo
"version = '
$(
shell dpkg-parsechangelog -S version
)
'"
>>
monkeysign/_version.py
dh_auto_build
override_dh_auto_test
:
# override locale to make sure tests pass
LANG
=
C.UTF-8 dh_auto_test
...
...
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