Hi all, thanks for your tips.
First, I refer to [1] and all the previous materials in the mailing list to generate all the debian metadata files. During this step, some commands are very useful, including dch -i/-a. For now, I have submitted all the debian metadata files to [my Github repo](https://github.com/mudongliang/youdao-python). Second, I use "debuild" to build and sign the deb package. But I got one error : > dpkg-buildpackage -rfakeroot -us -uc -ui > dpkg-buildpackage: info: source package youdao-python > dpkg-buildpackage: info: source version 1.1.0 > dpkg-buildpackage: info: source distribution UNRELEASED > dpkg-buildpackage: info: source changed by Dongliang Mu > <mudonglianga...@gmail.com> > dpkg-source --before-build youdao-python > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean --with python2,python3 --buildsystem=pybuild > dh_auto_clean -O--buildsystem=pybuild > I: pybuild base:184: python2.7 setup.py clean > running clean > removing '/home/mdl/Repos/Github/youdao-python/.pybuild/pythonX.Y_2.7/build' > (and everything under it) > 'build/bdist.linux-amd64' does not exist -- can't clean it > 'build/scripts-2.7' does not exist -- can't clean it > dh_clean -O--buildsystem=pybuild > dpkg-source -b youdao-python > dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream > tarball found at ../youdao-python_1.1.0.orig.tar.{bz2,gz,lzma,xz} > dpkg-buildpackage: error: dpkg-source -b youdao-python subprocess returned > exit status 25 > debuild: fatal error at line 1152: > dpkg-buildpackage -rfakeroot -us -uc -ui failed >From [2], I just used that answer and build the package successfully. Finally I got two files: youdao-python_1.1.0_all.deb, youdao-python_1.1.0_amd64.changes Finally, I used "lintian" and "debc" to check the status of packaging: youdao-python_1.1.0_all.deb --------------------------- new Debian package, version 2.0. size 4588 bytes: control archive=1048 bytes. 380 bytes, 11 lines control 819 bytes, 9 lines md5sums 163 bytes, 9 lines * postinst #!/bin/sh 265 bytes, 14 lines * prerm #!/bin/sh Package: youdao-python Version: 1.1.0 Architecture: all Maintainer: Dongliang Mu <mudonglianga...@gmail.com> Installed-Size: 29 Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~) Section: misc Priority: optional Homepage: https://github.com/mudongliang/youdao-python Description: youdao dictionary implemented in python Simple Youdao Dictionary implemented by python module drwxr-xr-x root/root 0 2018-03-17 13:20 ./ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/bin/ -rwxr-xr-x root/root 397 2018-03-17 13:20 ./usr/bin/youdao drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/lib/ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/lib/python2.7/ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/youdao_simple/ -rw-r--r-- root/root 39 2018-03-16 00:49 ./usr/lib/python2.7/dist-packages/youdao_simple/__init__.py -rw-r--r-- root/root 3883 2018-03-16 01:02 ./usr/lib/python2.7/dist-packages/youdao_simple/youdao.py drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/youdao_simple-1.1.0.egg-info/ -rw-r--r-- root/root 3402 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/youdao_simple-1.1.0.egg-info/PKG-INFO -rw-r--r-- root/root 1 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/youdao_simple-1.1.0.egg-info/dependency_links.txt -rw-r--r-- root/root 54 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/youdao_simple-1.1.0.egg-info/entry_points.txt -rw-r--r-- root/root 14 2018-03-17 13:20 ./usr/lib/python2.7/dist-packages/youdao_simple-1.1.0.egg-info/top_level.txt drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/share/ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-03-17 13:20 ./usr/share/doc/youdao-python/ -rw-r--r-- root/root 160 2018-03-17 13:20 ./usr/share/doc/youdao-python/changelog.gz -rw-r--r-- root/root 471 2018-03-17 13:15 ./usr/share/doc/youdao-python/copyright What should I do now? If you find any issue in my procedure, please let me know. [1] https://blog.packagecloud.io/debian/debuild/packaging/2015/06/08/buildling-deb-packages-with-debuild/ [2] https://askubuntu.com/questions/675154/dpkg-buildpackage-dpkg-source-no-upstream-tarball-found -- My best regards to you. No System Is Safe! Dongliang Mu On Sat, Mar 17, 2018 at 1:58 AM, Ben Finney <bign...@debian.org> wrote: > Georg Faerber <ge...@riseup.net> writes: > >> On 18-03-16 17:16:23, 慕冬亮 wrote: >> > I need to find one sponsor to upload my package to the Debian >> > software repository(for now I don't have the privilege); >> >> It might need some time up until you become a DM to be able to upload >> packages on your own, but in general, the above is correct. > > Before then, as you can read in the introductory document > <URL:https://mentors.debian.net/intro-maintainers>, you can publish to > the Mentors repository for review by mentors. > > That is the whole purpose of the Mentors package repository :-) > > -- > \ “Politics is not the art of the possible. It consists in | > `\ choosing between the disastrous and the unpalatable.” —John | > _o__) Kenneth Galbraith, 1962-03-02 | > Ben Finney >