From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imath.kiev.ua; s=hydra; t=1517575433; bh=eIvIgr8PqOLsApvJESX9sDie9h/SwT1RHnN1VYCuxmk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=FzIXran0VPxY2As/DnmCsPavAYu3gt1IG1PSVFy42Zmc/Wht37siH38SdkU/vdIBu 6+tOAbxsx7WHUt4cR7gOOW3nnZsKcnKs04zxB40qCtoUT8s7x0/GyfK2veTXzHm24e B9ohrikFrw+yYnWpO6/fw6rlzv9SgqLgNbw/F9po= Date: Fri, 2 Feb 2018 14:43:52 +0200 From: Igor Vlasenko To: ALT Linux Team development discussions Message-ID: <20180202124352.GA10318@dad.imath.kiev.ua> References: <20180201164258.GA7343@gyle.altlinux.org> <875773010.172.1517535550700.JavaMail.taf@taf.office.telnet> <26dcefac-18f9-5da8-3314-de6e6de47e18@basealt.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Cc: Levin Stanislav Subject: Re: [devel] [cyber] I: Sisyphus-20180201 i586 beehive_status: +1151 -6 (1510) X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 12:43:56 -0000 Archived-At: List-Archive: List-Post: --SUOF0GtieIMvvwua Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Fri, Feb 02, 2018 at 03:05:55PM +0300, Levin Stanislav wrote: > Здравствуйте! > > > Занимаюсь починкой сборки python пакетов (python-module-setuptools-tests > -> python-module-setuptools). > > Иду по списку, будет сделано ASAP. Можно еще ускорить это дело. В аттачменте скрипт fix-stetuptools-tests.pl На отдельные пакеты его можно применять с помощью srpmnmu --hook fix-stetuptools-tests.pl srpmnmu --hook fix-stetuptools-tests.pl -i а на всю транзакцию сразу с помощью https://www.altlinux.org/Git.alt/girar-nmu#утилиты для подготовки NMU. См. там же так же #Использование girar-nmu utils на примере обновления perl -- I V --SUOF0GtieIMvvwua Content-Type: application/x-perl Content-Disposition: attachment; filename="fix-stetuptools-tests.pl" Content-Transfer-Encoding: quoted-printable #!/usr/bin/perl -w=0A=0A# set to 1 if you want to drop the dep=0Amy $drop= =3D0;=0A=0Apush @SPECHOOKS, =0Asub {=0A my ($spec, $parent) =3D @_;=0A = # valid hook=0A};=0A=0Ause RPM::Source::Tools::Dependency::Filter;=0Ause = RPM::Source::Transformation::Factory::DependencyFilter;=0A=0A&RPM::Source::= Transformation::Factory::DependencyFilter::register_filter(=0A -class = =3D> 'FixSetupToolsTestsRequires',=0A -tags =3D> SPEC_TAG_REQUIRES|SPEC_= TAG_BUILD_REQUIRES,=0A);=0A=0Apackage FixSetupToolsTestsRequires;=0A=0Ause = strict;=0Ause warnings;=0Ause RPM::Source::Tools::Dependency::Filter;=0Aour= @ISA=3Dq/RPM::Source::Tools::Dependency::Filter/;=0A=0Asub apply {=0A m= y ($self, $tagobj, $dep) =3D @_;=0A my $pkgname=3D$dep->{-name};=0A i= f ($pkgname eq 'python-module-setuptools-tests') {=0A if ($drop) {=0A d= elete $dep->{-name};=0A } else {=0A # replace=0A $dep->{-name}=3D'p= ython-module-setuptools';=0A }=0A }=0A return $dep;=0A}=0A=0A1;=0A --SUOF0GtieIMvvwua--