def __init__(self, package, version):
        """Construct a new requirement.

        :param package: the package name.
        :param version: a semver compatible version specification.
        """
        self.package = package
        self.version = version
        if self.version and not re.match(r"[<=>~]", version[:2]):
            self.version = "=={}".format(self.version)
def create(self):
        self._set_changed_options()
        if self.client.check_mode:
            return True
        if self.want.base_key is None:
            raise F5ModuleError(
                "You must specify a 'base_key' when creating a license pool"
            )
        self.create_on_device()
        return True