File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -583,14 +583,14 @@ def download_official_pkgbuild(name: str) -> list[str]:
583
583
pkgver = pkg ['pkgver' ]
584
584
pkgrel = pkg ['pkgrel' ]
585
585
if epoch :
586
- tag = f'{ epoch } : { pkgver } -{ pkgrel } '
586
+ tag = f'{ epoch } - { pkgver } -{ pkgrel } '
587
587
else :
588
588
tag = f'{ pkgver } -{ pkgrel } '
589
589
590
590
tarball_url = 'https://gitlab.archlinux.org/archlinux/packaging/packages/{0}/-/archive/{1}/{0}-{1}.tar.bz2' .format (pkgbase , tag )
591
591
logger .debug ('downloading Arch package tarball from: %s' , tarball_url )
592
592
tarball = s .get (tarball_url ).content
593
- path = f'{ pkgbase } -main '
593
+ path = f'{ pkgbase } -{ tag } '
594
594
files = []
595
595
596
596
with tarfile .open (
@@ -600,7 +600,7 @@ def download_official_pkgbuild(name: str) -> list[str]:
600
600
dirname , filename = os .path .split (tarinfo .name )
601
601
if dirname != path :
602
602
continue
603
- if filename in ('.SRCINFO' , '.gitignore' ):
603
+ if filename in ('.SRCINFO' , '.gitignore' , '.nvchecker.toml' ):
604
604
continue
605
605
tarinfo .name = filename
606
606
logger .debug ('extract file %s.' , filename )
You can’t perform that action at this time.
0 commit comments