php-formula/php
Mark Gomersbach 39b1307671 fix(map.jinja): fix useflags regex (gentoo)
* fix(map.jinja): fix useflags regex

When using version inside useflag, the sls_block macro with ebuildpkg regex result in a range error.
Replacing the version argument with uses seem to work as escapes don't really work there.

fix(map.jinja): replace all problematic lines
fix(map.jinja): update available targets

```
----------
          ID: php_install_imagick_dev-php-pecl-imagick
    Function: pkg.installed
        Name: dev-php/pecl-imagick
      Result: False
     Comment: An exception occurred in this state: Traceback (most recent call last):
                File "/usr/lib64/python3.6/site-packages/salt/state.py", line 1933, in call
                  **cdata['kwargs'])
                File "/usr/lib64/python3.6/site-packages/salt/loader.py", line 1951, in wrapper
                  return f(*args, **kwargs)
                File "/usr/lib64/python3.6/site-packages/salt/states/pkg.py", line 1563, in installed
                  **kwargs)
                File "/usr/lib64/python3.6/site-packages/salt/states/pkg.py", line 651, in _find_install_targets
                  for name, version in desired.items()
                File "/usr/lib64/python3.6/site-packages/salt/states/pkg.py", line 652, in <listcomp>
                  if not (name in cur_pkgs and (version is None or _fulfills_version_string(cur_pkgs[name], version)))
                File "/usr/lib64/python3.6/site-packages/salt/states/pkg.py", line 216, in _fulfills_version_string
                  fullfills_all = fullfills_all and _fulfills_version_spec([installed_version], operator, version_string, ignore_epoch=ignore_epoch)
                File "/usr/lib64/python3.6/site-packages/salt/states/pkg.py", line 234, in _fulfills_version_spec
                  if (oper == '==' and fnmatch.fnmatch(ver, desired_version)) \
                File "/usr/lib64/python3.6/fnmatch.py", line 36, in fnmatch
                  return fnmatchcase(name, pat)
                File "/usr/lib64/python3.6/fnmatch.py", line 70, in fnmatchcase
                  match = _compile_pattern(pat)
                File "/usr/lib64/python3.6/fnmatch.py", line 46, in _compile_pattern
                  return re.compile(res).match
                File "/usr/lib64/python3.6/re.py", line 233, in compile
                  return _compile(pattern, flags)
                File "/usr/lib64/python3.6/re.py", line 301, in _compile
                  p = sre_compile.compile(pattern, flags)
                File "/usr/lib64/python3.6/sre_compile.py", line 562, in compile
                  p = sre_parse.parse(p, flags)
                File "/usr/lib64/python3.6/sre_parse.py", line 855, in parse
                  p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
                File "/usr/lib64/python3.6/sre_parse.py", line 416, in _parse_sub
                  not nested and not items))
                File "/usr/lib64/python3.6/sre_parse.py", line 765, in _parse
                  p = _parse_sub(source, state, sub_verbose, nested + 1)
                File "/usr/lib64/python3.6/sre_parse.py", line 416, in _parse_sub
                  not nested and not items))
                File "/usr/lib64/python3.6/sre_parse.py", line 553, in _parse
                  raise source.error(msg, len(this) + 1 + len(that))
              sre_constants.error: bad character range 7-3 at position 20
     Started: 14:28:26.927898
    Duration: 6321.149 ms
     Changes:
```

* Use single-quoting

Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>
2019-12-02 21:54:41 +00:00
..
apache2 feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
cli feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
files/default feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
fpm feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
hhvm fix(repo.sls): fix salt-lint errors 2019-10-09 16:07:50 +01:00
mdb2 feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
ng feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
repo feat(repo): add repo pattern so we can set distro repo during tests 2019-09-04 01:04:43 +02:00
xcache feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
adodb.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
apc.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
apcu.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
auth-sasl.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
bcmath.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
bz2.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
cache-lite.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
cgi.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
composer.sls fix(composer.sls): fix salt-lint errors 2019-10-09 16:07:49 +01:00
console-table.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
ctype.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
curl.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
dba.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
deprecated.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
dev.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
dom.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
fileinfo.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
filter.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
gd.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
gearman.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
geoip.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
geshi.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
gettext.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
gmp.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
hash.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
http.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
iconv.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
igbinary.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
imagick.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
imap.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
ini.jinja feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
init.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
installed.jinja fix(pillar): fix pillar.get still looking under 'ng' namespace 2019-08-27 00:05:26 +02:00
intl.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
json.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
ldap.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
libtofs.jinja feat(tofs): implementation for all file.managed 2019-09-13 10:59:05 +01:00
macro.jinja feat(repo): add repo pattern so we can set distro repo during tests 2019-09-04 01:04:43 +02:00
mail.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
map.jinja fix(map.jinja): fix useflags regex (gentoo) 2019-12-02 21:54:41 +00:00
mbstring.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
mcrypt.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
memcache.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
memcached.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
modules.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
mongo.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
mongodb.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
msgpack.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
mysql.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
mysqlnd.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
net4.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
net6.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
net-smtp.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
oauth.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
opcache.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
openssl.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
pdo_mysql.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
pdo.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
pear.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
pgsql.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
phar.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
posix.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
pspell.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
readline.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
redis.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
seclib.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
session.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
simplexml.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
snmp.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
soap.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
sqlite.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
ssh2.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
suhosin.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
svn.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
sybase.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
tcpdf.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
tidy.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
tokenizer.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
uuid.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
xdebug.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
xml.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
xmlwriter.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
xsl.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00
zip.sls feat(ng): promote NG formula 2019-08-20 13:01:49 +11:00