<div dir="ltr">Sent an email to the Debian user mailing list <a href="mailto:debian-user@lists.debian.org">debian-user@lists.debian.org</a> requesting for packaging v0.114.<div><br></div><div><div class="gmail-nH gmail-V8djrc gmail-byY" style="display:flex;padding:20px 0px 8px 72px;color:rgb(32,33,36);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-nH"><div class="gmail-ha" style="background-image:inherit;background-position:inherit;background-size:inherit;background-repeat:inherit;background-origin:inherit;background-clip:inherit;background-color:transparent;border-right:inherit;color:rgb(34,34,34);font-family:inherit;font-size:1.375rem;margin:0px;padding:0px;line-height:28px"><h2 id="gmail-:ak" class="gmail-hP" tabindex="-1" style="margin:0px;padding:0px 10px 0px 0px;border:0px;font-style:inherit;font-variant-ligatures:no-contextual;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-weight:400;font-stretch:inherit;font-size:1.375rem;line-height:inherit;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;display:inline;outline:none;color:rgb(32,33,36)">Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.</h2><span id="gmail-:al" class="gmail-J-J5-Ji" style="display:inline-flex;min-height:28px;vertical-align:bottom"></span></div><div class="gmail-dJ" style="height:0px;overflow:hidden;clear:both"></div></div></div><div class="gmail-nH gmail-aHU" style="color:rgb(32,33,36);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-nH gmail-hx" style="background-color:transparent;color:rgb(34,34,34);min-width:502px;padding:0px"><div class="gmail-nH"></div><div class="gmail-nH"></div><div class="gmail-nH"><div class="gmail-h7 gmail-ie gmail-nH gmail-oy8Mbf" tabindex="-1" style="clear:both;padding-bottom:0px;max-width:100000px;outline:none"><div class="gmail-Bk" style="margin-bottom:0px;border-width:0px;border-top-style:solid;border-right-style:initial;border-bottom-style:initial;border-left-style:initial;border-top-color:rgb(239,239,239);border-right-color:initial;border-left-color:initial;border-bottom-color:initial;border-radius:0px;width:1022px;float:none"><div class="gmail-G3 gmail-G2 gmail-afm" style="padding-top:0px;background-color:transparent;border-right:0px;border-bottom:0px rgba(100,121,143,0.12);border-left:0px;border-top:none;border-radius:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><div><div id="gmail-:bp"><div class="gmail-adn gmail-ads" style="border-left:none;padding:0px;display:flex"><div class="gmail-aju" style="float:none;padding:0px 16px;display:flex;height:80px;min-width:40px"><div class="gmail-aCi" style=""><img id="gmail-:a2_1-e" name=":a2" src="https://ssl.gstatic.com/ui/v1/icons/mail/profile_mask2.png" class="gmail-ajn" style="display: block; width: 40px; height: 40px; border-radius: 50%; background-color: rgb(204, 204, 204);"></div></div><div class="gmail-gs" style="margin:0px;padding:0px 0px 20px;width:950px"><div class="gmail-gE gmail-iv gmail-gt" style="padding:20px 0px 0px;font-size:0.875rem"><table cellpadding="0" class="gmail-cf gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr class="gmail-acZ" style="height:auto;display:flex"><td class="gmail-gF gmail-gK" style="white-space:nowrap;padding:0px;vertical-align:top;width:691.797px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" class="gmail-cf gmail-ix" style="border-collapse:collapse;table-layout:fixed;width:691px"><tbody><tr><td class="gmail-c2" style="display:flex"><h3 class="gmail-iw" style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="gmail-qu" tabindex="-1"><span name="ANIKET MATHUR" class="gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px">ANIKET MATHUR</span> <span class="gmail-go" style="vertical-align:top;color:rgb(85,85,85)"><<a href="mailto:amathur@ec.iitr.ac.in">amathur@ec.iitr.ac.in</a>></span></span></h3></td></tr></tbody></table></td><td class="gmail-gH gmail-bAk" style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div class="gmail-gK" style="padding:0px;display:flex"><span id="gmail-:bu" class="gmail-g3" title="Jul 5, 2019, 4:10 PM" alt="Jul 5, 2019, 4:10 PM" tabindex="-1" style="vertical-align:top;margin:0px;font-size:0.75rem;letter-spacing:0.3px;color:rgb(95,99,104);display:block;line-height:20px">4:10 PM (2 minutes ago)</span><div class="gmail-zd gmail-bi4" title="Not starred" tabindex="0" style="display:inline-block;height:20px;margin-left:20px;outline:0px"><span class="gmail-T-KT" style="display:inline-flex;height:20px;text-align:center;width:20px;padding:0px;margin:0px;border:none;outline:none"></span></div></div></td><td class="gmail-gH" style="text-align:right;white-space:nowrap;vertical-align:top;display:flex"></td><td class="gmail-gH gmail-acX gmail-bAm" rowspan="2" style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div class="gmail-T-I gmail-J-J5-Ji gmail-T-I-Js-IF gmail-aaq gmail-T-I-ax7 gmail-L3" tabindex="0" style="display:inline-flex;border-radius:2px 0px 0px 2px;font-size:0.875rem;text-align:center;margin:0px 0px 0px 20px;height:20px;line-height:18px;min-width:0px;outline:none;padding:0px;background:transparent;color:rgb(68,68,68);border:none"><img class="gmail-hB gmail-T-I-J3" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt="" style="background: url("https://www.gstatic.com/images/icons/material/system/1x/reply_black_20dp.png") 50% 50% / 20px no-repeat; height: 20px; margin: 0px; vertical-align: middle; width: 20px; opacity: 0.54; display: inline-block; padding: 0px; transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s;"></div><div id="gmail-:c5" class="gmail-T-I gmail-J-J5-Ji gmail-T-I-Js-Gs gmail-aap gmail-T-I-awG gmail-T-I-ax7 gmail-L3" tabindex="0" style="display:inline-flex;border-radius:0px 2px 2px 0px;font-size:0.875rem;text-align:center;margin:0px 0px 0px 20px;height:20px;line-height:18px;min-width:0px;outline:none;padding:0px;background:transparent;color:rgb(68,68,68);border:none"><img class="gmail-hA gmail-T-I-J3" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt="" style="background: url("https://www.gstatic.com/images/icons/material/system/1x/more_vert_black_20dp.png") 50% 50% / 20px no-repeat; height: 20px; width: 20px; margin: 0px; vertical-align: middle; opacity: 0.54; display: inline-block; padding: 0px; transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s;"></div></td></tr><tr class="gmail-acZ gmail-xD" style="height:auto;display:flex"><td colspan="3"><table cellpadding="0" class="gmail-cf gmail-adz" style="border-collapse:collapse;table-layout:fixed;white-space:nowrap;width:950px"><tbody><tr><td class="gmail-ady" style="overflow:visible;text-overflow:ellipsis;display:flex;line-height:20px"><div class="gmail-iw gmail-ajw" style="overflow:hidden;max-width:92%;display:inline-block"><span class="gmail-hb" style="vertical-align:top;color:rgb(95,99,104);font-size:0.75rem;letter-spacing:0.3px;line-height:20px">to <span dir="ltr" name="debian-user" class="gmail-g2" style="vertical-align:top">debian-user</span></span></div><div id="gmail-:c4" class="gmail-ajy" tabindex="0" style="display:inline-flex;margin-left:4px;vertical-align:top;border:none;outline:none"><img class="gmail-ajz" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt="" style="background: url("https://www.gstatic.com/images/icons/material/system/1x/arrow_drop_down_black_20dp.png") 50% 50% / 20px no-repeat; cursor: pointer; padding: 0px; vertical-align: baseline; height: 20px; width: 20px; border: none; margin: 0px 0px 0px auto; right: 0px; top: 0px; display: flex; opacity: 0.54;"></div></td></tr></tbody></table></td></tr></tbody></table></div><div id="gmail-:bq"><div class="gmail-qQVYZb"></div><div class="gmail-utdU2e"></div><div class="gmail-btm"></div></div><div class="gmail-"><div class="gmail-aHl" style=""></div><div id="gmail-:c3" tabindex="-1"></div><div id="gmail-:bs" class="gmail-ii gmail-gt gmail-adO" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:br" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr">G'day,<div>Aniket Mathur this side, an active contributor of Sugarlabs as well as a GSoC 19 participant. This mail is a small query regarding the packaging of "sugar3" module.</div><div><br></div><div>We currently have v0.112 packaged. In the latest version (0.114) Sugarlabs have made the toolkit compatible with both Python and Python 3. But we don't have Debian multi-version packages for the latest version. This prevents us to scale our testing as well as limits the number of testers.</div><div><br></div><div>We don't know how to make multi-version local packages, that we can distribute for testing.</div><div><br></div><div>It would be good if we have Debian packages for v 0.114.</div><div><br></div><div>Need Help.</div><div>Regards.</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 2, 2019 at 12:02 PM ANIKET MATHUR <<a href="mailto:amathur@ec.iitr.ac.in">amathur@ec.iitr.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yes, I was asking about Debian packages. Sorry for incomplete information.<div><br></div><div>I read sources of some Debian packages:-</div><div>~ They do use six for keeping multi-version compatibility.</div><div>~ Instead of a <a href="http://configure.ac" target="_blank">configure.ac</a>, they use setup.py.</div><div>~ In setup.py, they define entry-points as per the commands from the command line specifying python-foo or python3-foo.</div><div><br></div><div>I also did a github search for 'python <a href="http://configure.ac" target="_blank">configure.ac</a>' , looked into a considerable amount of commits of different users and organizations with the motive of "why don't we ask for help from those who seems to be successful in doing it".</div><div><br></div><div>From my research, I found out that the guys at "balabit" seems to be able to do it.</div><div>I opened an <a href="https://github.com/balabit/syslog-ng/issues/2814" target="_blank">issue</a> asking for help and clearance.</div><div><br></div><div>The next step is to contact the Debian developers.</div><div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 1, 2019 at 5:21 AM James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You neglected to mention that you are asking about Debian and Ubuntu<br>
binary packages.  Ubuntu packages come from Debian unchanged, so your<br>
question can be reduced to Debian packaging.<br>
<br>
We're the wrong people to ask.  It's not a skill any of us at Sugar<br>
Labs have, otherwise we would have done it by now.<br>
<br>
The people who know how to do this are Debian and Ubuntu package<br>
developers.<br>
<br>
I've tried asking one of the Debian developers but they were too busy<br>
to give private assistance.  Private assistance does not scale, so the<br>
return on investment is meagre.<br>
<br>
I suggest you try these things;<br>
<br>
1.  write a throw-away script to download all Debian packages that<br>
depend on Python 2 or Python 3, intersect a union of source packages<br>
that support both versions, and then list those packages that contain<br>
<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> in the source package,<br>
<br>
2.  review those Debian and Ubuntu source packages that are used to<br>
generate binary packages for both Python 2 and Python 3, and list the<br>
package design patterns that you observe,<br>
<br>
3.  contact the Debian developers using their mailing lists, or other<br>
methods,<br>
<br>
4.  engage in the Debian project by reporting a bug that asks for<br>
packaging of a new version of the toolkit; currently 0.112 is<br>
packaged.<br>
<br>
On Sat, Jun 29, 2019 at 02:32:33PM +0530, ANIKET MATHUR wrote:<br>
> Hello everyone,<br>
> <br>
> I have been working on developing multi-version packages for toolkit which can<br>
> build for both Python and Python 3. I successfully build packages for python,<br>
> but not able to yet built one's having multi-version support. I have been<br>
> working on this for some time in the last two weeks, trying to get something<br>
> from the source code of existing tools that have these packages, like 'pip' and<br>
> a lot more. <br>
> <br>
> I need help and suggestions in this work. :-)<br>
> <br>
> Thanks!<br>
<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>
</blockquote></div>