<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">2013년 08월 09일 08:39, Charlie Smotherman
쓴 글:<br>
</div>
<blockquote
cite="mid:CAL_XWdCkeuEYcpHCeFRFi+Xc112prEXxs9krfhicGkWOvxwitQ@mail.gmail.com"
type="cite">
<div dir="ltr">On Fri, Aug 9, 2013 at 10:11 AM, John Kim <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:johnkim.ubuntu@gmail.com" target="_blank">johnkim.ubuntu@gmail.com</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>2013년 08월 08일 22:37, Charlie Smotherman 쓴 글:<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">On Thu, Aug 8, 2013 at 11:18 PM,
John Kim <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:johnkim.ubuntu@gmail.com"
target="_blank">johnkim.ubuntu@gmail.com</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">Hi motu,<br>
<br>
This is John Kim. I'm currently packaging
pylang [1], but I've<br>
encountered some pbuilder problems.
Lintian gave no errors, but in<br>
pbuilder, something was wrong.<br>
<br>
See here for the post on ubuntuforums. I
would appreciate any help.<br>
<a moz-do-not-send="true"
href="http://ubuntuforums.org/showthread.php?t=2166366&p=12750627#post12750627"
target="_blank">http://ubuntuforums.org/showthread.php?t=2166366&p=12750627#post12750627</a><br>
<br>
</blockquote>
<div><br>
</div>
<div>with not being able to look at
debian/rules and debian/control I'm
guessing you may not have python-dev
installed?</div>
<div><br>
</div>
<div>If you are building for both python2
and python3 have a look at pybuild :)</div>
<div> </div>
<div>-- <br>
</div>
</div>
Charlie </div>
</div>
</blockquote>
<br>
</div>
</div>
Hi Charlie,<br>
<br>
Thanks for helping me out. I added python-dev as a
build-depends.<br>
<br>
debian/control (<b>bold</b> - just added)<br>
<blockquote>Source: pylangSee my latest<br>
Section: x11<br>
Priority: extra<br>
Maintainer: John Kim <a moz-do-not-send="true"
href="mailto:johnkim.ubuntu@gmail.com"
target="_blank"><johnkim.ubuntu@gmail.com></a><br>
Build-Depends: debhelper (>= 8.0.0),<b> </b><b><i>python-dev</i></b>,
python2.7<br>
X-Python-Version: >= 2.6<br>
Standards-Version: 3.9.4<br>
Homepage: <a moz-do-not-send="true"
href="https://launchpad.net/pylang" target="_blank">https://launchpad.net/pylang</a><br>
#Vcs-Git: git://<a moz-do-not-send="true"
href="http://git.debian.org/collab-maint/pylang.git"
target="_blank">git.debian.org/collab-maint/pylang.git</a><br>
#Vcs-Browser: <a moz-do-not-send="true"
href="http://git.debian.org/?p=collab-maint/pylang.git;a=summary"
target="_blank">http://git.debian.org/?p=collab-maint/pylang.git;a=summary</a><br>
<br>
Package: pylang<br>
Architecture: any<br>
Depends: ${shlibs:Depends}, ${misc:Depends},
${python:Depends}<br>
Description: Practice Languages<br>
Complete the sentence with random words in English,
Spanish, etc.<br>
</blockquote>
debian/control (a typical one, didn't change anything)<br>
<blockquote>#!/usr/bin/make -f<br>
# -*- makefile -*-<br>
# Sample debian/rules that uses debhelper.<br>
# This file was originally written by Joey Hess and
Craig Small.<br>
# As a special exception, when this file is copied by
dh-make into a<br>
# dh-make output file, you may use that output file
without restriction.<br>
# This special exception was added by Craig Small in
version 0.37 of dh-make.<br>
<br>
# Uncomment this to turn on verbose mode.<br>
#export DH_VERBOSE=1<br>
<br>
%:<br>
dh $@ <br>
<br>
</blockquote>
See my latest post on the forum thread on the new source
of error. I think I will need to add DistAutoUtils as a
depends, but the developer doesn't want it that way. If
that's the case, is there a workaround? <br>
</div>
</blockquote>
<div><br>
</div>
<div style="">Yes you will have to add that as a dependency
or have upstream use distutils and then use dh_python2 in
debian/rules</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="im">
<pre cols="72">--
John Kim
Ubuntu QA & Doc Contributor
<a moz-do-not-send="true" href="mailto:johnkim.ubuntu@gmail.com" target="_blank">johnkim.ubuntu@gmail.com</a></pre>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Charlie Smotherman<br>
Debian Contributor<br>
Ubuntu Developer
</div>
</div>
</blockquote>
<br>
Like this? <br>
<blockquote>%:<br>
dh $@ <br>
<b> dh_python2</b><br>
</blockquote>
Ok, minus the rules file edit atm (I will make it after
confirmation), the build was successful! Now, I am wondering
whether this would affect the .deb package. Although the building
from source process required specifying python-distutils-extra as a
build-depends, I am concerned whether the resulting .deb now would
want it too because it doesn't and shouldn't. How can I ensure or
confirm that the .deb does not require python-distutils-extra?<br>
<br>
Thanks.<br>
<pre class="moz-signature" cols="72">--
John Kim
Ubuntu QA & Doc Contributor
<a class="moz-txt-link-abbreviated" href="mailto:johnkim.ubuntu@gmail.com">johnkim.ubuntu@gmail.com</a></pre>
</body>
</html>