Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.python,linux.debian.bugs.dist Subject: Re: Next python-mote pre-condition - issue with pybuild: python-backports.tempfile conflicting python-backports.weakref Date: Mon, 22 Jan 2018 15:10:02 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org, Debian Science List , 777089@bugs.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Jan 22 14:05:00 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/15474 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20180122140410.llapcwh7xg2uwsg7@an3as.eu Approved: robomod@news.nic.it Lines: 37 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 22 Jan 2018 15:04:10 +0100 X-Original-Message-ID: <20180122140410.llapcwh7xg2uwsg7@an3as.eu> X-Original-References: <20180112160153.swvluhcudyw43ll6@an3as.eu> <20180115083753.pen4mpryoar6cji5@an3as.eu> <20180115115929.gnffbsmgmr2b2dcr@an3as.eu> <20180115125227.e63vjwbitdyes26l@sar0.p1otr.com> <20180115150627.kgbqbkp4vxctyaj6@an3as.eu> <20180115151500.zki5z3lxuhldylzr@sar0.p1otr.com> <20180116204521.xm27u6rucyoxgk2p@an3as.eu> Xref: csiph.com linux.debian.maint.python:10079 linux.debian.bugs.dist:876791 Hi, I kept on working packaging python-moto predependencies. I'm now stumbling upon python-backports.tempfile[1] and python-backports.weakref[2]. My naive packaging attempt puts the modules into /usr/lib/python*/dist-packages/backports leaving the same package /usr/lib/python3/dist-packages/backports/__init__.py for both packages and thus the packages are conflicting. I have no idea why pybuild simply uses the dir backports instead of the full module name nor do I have any idea how to fix this. I tried to hack around in the backports.weakref package using override_dh_auto_install: for dir in `find .pybuild -type d -name backports | sort | uniq` ; do \ mv $${dir} $${dir}.weakref ; \ done dh_auto_install but this rather has led to an empty package. Any help is welcome Andreas. [1] https://salsa.debian.org/science-team/python-backports.tempfile.git [2] https://salsa.debian.org/science-team/python-backports.weakref.git -- http://fam-tille.de