Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: =?UTF-8?Q?Louis-Philippe_V=c3=a9ronneau?= Newsgroups: linux.debian.maint.python Subject: Re: python-param: FTBFS: TypeError: The only supported seed types are: None, Date: Fri, 03 Feb 2023 18:20:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Feb 3 17:16:10 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.198 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -4.6 X-Riseup-User-ID: 647C1FC6A88AD9E534F120E007BD1F8E9DB8342B6984317694993988ECCD5FD8 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/20768 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/86bacfc7-344f-f5bb-70d5-0792b2f352a7@debian.org Approved: robomod@news.nic.it Lines: 17 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 3 Feb 2023 12:15:47 -0500 X-Original-Message-ID: <86bacfc7-344f-f5bb-70d5-0792b2f352a7@debian.org> X-Original-References: Xref: csiph.com linux.debian.maint.python:14883 On 2023-02-03 11 h 58, FC Stegerman wrote: > Presumably there is a way to get the version from e.g. > "dpkg-parsechangelog -S Version" (minus the -1 revision) instead. I'm > not sure how other packages handle this. You can get those values via the variables provided by /usr/share/dpkg/pkg-info.mk You can "source" those in your d/rules makefile by using: include /usr/share/dpkg/pkg-info.mk -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org ⠈⠳⣄