ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: rpm-build-perl-0.5
@ 2004-12-06  2:06 Alexey Tourbin
  2004-12-08  3:36 ` [devel] " Alexey Tourbin
  2004-12-13  7:16 ` [devel] I: rpm-build-perl-0.5 Andrey Brindeew
  0 siblings, 2 replies; 9+ messages in thread
From: Alexey Tourbin @ 2004-12-06  2:06 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]

Здравствуйте.

Я опять переделал rpm-build-perl.  Согласно проведённому мной
исследованию, новая версия rpm-build-perl на 42% лучше предыдущей. :)

B::Deparse больше не используется, а используется B::PerlReq собственной
разработки, который ходит по optree, ищет require/dofile опкоды и таким
образом выдаёт зависимости напрямую:

$ perl -MO=PerlReq,-verbose /usr/lib/perl5/FileHandle.pm
# perl-base >= 1:5.6.0 at line 3
perl-base >= 1:5.6.0
# perl(strict.pm) at line 4 (builtin SKIP)
# perl(strict.pm) at line 46 (builtin SKIP)
# perl(IO/File.pm) at line 9
perl(IO/File.pm)
# perl(Exporter.pm) at line 72 (builtin SKIP)
# perl(Fcntl.pm) at line 80 inside eval (SKIP)
/usr/lib/perl5/FileHandle.pm syntax OK
$

Работает в 3-4 раза быстрее.

Выравнивание версий мной также реализовано, как и обсуждалось.
Теперь при пересборке перловых пакетов могут возникнуть unmet'ы
из-за различия в выравнивании версий.  Большая часть этих unmet'ов
будет ликвидирована с появлением perl-5.8.6, собранного в новой среде
(это ожидается в конце предстоящей недели).  Необходимости
в лавинообразной пересборке и обновлении перловых пакетов возникнуть
не должно.

Старого кода по существу не осталось, поэтому я везде обновил
copyright'ы.

* Mon Dec 06 2004 Alexey Tourbin <at@altlinux> 0.5-alt1
- bumped version (0.3 -> 0.5) to reflect major changes
- implemented B::PerlReq and made perl.req use it instead of B::Deparse
- new PerlReq::Utils module (convertion and formatting routines)
- version numbers now rounded to 3 digits after decimal point
- v-string versions now treated as floats (e.g. 1.2.3 -> 1.002)
- all dependencies on particular perl version converted to 1:5.x.y form
- enabled version extraction from PREREQ_PM in Makefile.PL
- wrote/updated/enhanced documentation, started README.ALT
- started test suite (more than 50 tests)
- downgraded perl requirements to 5.6.0

-- 
[Advertisement: I can consider a job as a Perl expert.]

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-13  9:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-06  2:06 [devel] I: rpm-build-perl-0.5 Alexey Tourbin
2004-12-08  3:36 ` [devel] " Alexey Tourbin
2004-12-08  5:12   ` Alexey I. Froloff
2004-12-08  6:12     ` Alexey Tourbin
2004-12-08  6:53       ` Alexey Tourbin
2004-12-08  6:57         ` Alexey I. Froloff
2004-12-08 18:30     ` [devel] Re: perl-Apache-DBI Alexey Tourbin
2004-12-13  7:16 ` [devel] I: rpm-build-perl-0.5 Andrey Brindeew
2004-12-13  9:05   ` [devel] " Alexey Tourbin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git