do not limit very much on package names

This commit is contained in:
lilydjwg 2013-09-03 13:38:03 +08:00
parent 42e68cf9c5
commit 4f9001cea4
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env python3
__version__ = '0.3.2'
__version__ = '0.3.3dev'

View file

@ -26,7 +26,7 @@ from . import dbutil
logger = logging.getLogger(__name__)
# handles only x86_64, i686 and any arch packages
_pkgfile_pat = re.compile(r'(?:^|/)[a-z0-9_+-]+-[^-]+-\d+-(?:x86_64|i686|any)\.pkg\.tar\.xz(?:\.sig)?$')
_pkgfile_pat = re.compile(r'(?:^|/).+-[^-]+-\d+-(?:x86_64|i686|any)\.pkg\.tar\.xz(?:\.sig)?$')
class ActionInfo(archpkg.PkgNameInfo):
def __new__(cls, path, action, four=None, five=None, pkgpath=None):