forked from gentoo-utils/gentoo-utils
14 lines
173 B
Python
Executable File
14 lines
173 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import portage.dep as dep
|
|
|
|
input = sys.stdin.read().strip()
|
|
|
|
try:
|
|
dep.Atom(input)
|
|
except Exception as e:
|
|
sys.exit(1)
|
|
|
|
sys.exit(0)
|