euscan-ng/pym/euscan/handlers/pecl.py
Corentin Chary 8d91237988 euscan/handlers: rework handlers, better remote-id + watch support
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:50:54 +02:00

12 lines
242 B
Python

from euscan.handlers import php
HANDLER_NAME = "pecl"
CONFIDENCE = 100
PRIORITY = 90
def can_handle(pkg, url=None):
return url and url.startswith('http://%s.php.net/get/' % HANDLER_NAME)
scan_url = php.scan_url
scan_pkg = php.scan_pkg