Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
4749a2f9
Commit
4749a2f9
authored
14 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
Remove '-V' option from pyclean call in runtime.d/public_modules.rtremove
parent
b4a0958f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+2
-2
2 additions, 2 deletions
debian/changelog
dh_python2
+8
-5
8 additions, 5 deletions
dh_python2
runtime.d/public_modules.rtremove
+1
-1
1 addition, 1 deletion
runtime.d/public_modules.rtremove
with
11 additions
and
8 deletions
debian/changelog
+
2
−
2
View file @
4749a2f9
python-defaults (2.6.5-3) UNRELEASED; urgency=low
*
*
Remove '-V' option from pyclean call in runtime.d/public_modules.rtremove
--
Matthias Klose <doko
@debian.org> Fri, 18 Jun 2010
0
0:
07
:5
1
+0200
--
Piotr Ożarowski <piotr
@debian.org> Fri, 18 Jun 2010
1
0:
25
:5
9
+0200
python-defaults (2.6.5-2) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
dh_python2
+
8
−
5
View file @
4749a2f9
...
...
@@ -594,11 +594,14 @@ def main():
dh
.
autoscript
(
package
,
'
postinst
'
,
'
postinst-pycompile
'
,
args
)
pydist_file
=
join
(
'
debian
'
,
"
%s.pydist
"
%
package
)
if
exists
(
pydist_file
)
and
validate_pydist
(
pydist_file
,
True
):
dstdir
=
join
(
'
debian
'
,
package
,
'
usr/share/python/dist/
'
)
if
not
exists
(
dstdir
):
os
.
makedirs
(
dstdir
)
fcopy
(
pydist_file
,
join
(
dstdir
,
package
))
if
exists
(
pydist_file
):
if
not
validate_pydist
(
pydist_file
,
True
):
log
.
warning
(
"
%s.pydist file is invalid
"
,
package
)
else
:
dstdir
=
join
(
'
debian
'
,
package
,
'
usr/share/python/dist/
'
)
if
not
exists
(
dstdir
):
os
.
makedirs
(
dstdir
)
fcopy
(
pydist_file
,
join
(
dstdir
,
package
))
dh
.
save
()
...
...
This diff is collapsed.
Click to expand it.
runtime.d/public_modules.rtremove
+
1
−
1
View file @
4749a2f9
...
...
@@ -2,7 +2,7 @@
VERSION
=
${
2
#python
}
if
which python
>
/dev/null 2>&1
&&
which pyclean
>
/dev/null 2>&1
;
then
pyclean
-V
$VERSION
/usr/lib/python
$VERSION
/
pyclean /usr/lib/python
$VERSION
/
else
find /usr/lib/python
$VERSION
/
-name
'*.py[co]'
-delete
fi
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