84 lines
2.1 KiB
Bash
84 lines
2.1 KiB
Bash
#!/usr/bin/env bash
|
|
# vim: set sw=4 sts=4 et ft=sh :
|
|
|
|
include_hh << END
|
|
#include <paludis/dep_spec-fwd.hh>
|
|
#include <paludis/spec_tree-fwd.hh>
|
|
#include <paludis/name.hh>
|
|
END
|
|
|
|
include_cc << END
|
|
#include "nice_names-nn.hh"
|
|
END
|
|
|
|
use_namespace "paludis"
|
|
|
|
make_nn_NiceNames() {
|
|
namespace "paludis::python"
|
|
|
|
name "std::string" "String"
|
|
|
|
# paludis/dep_spec-fwd.hh
|
|
name "DepSpec"
|
|
name "PackageDepSpec"
|
|
name "PlainTextDepSpec"
|
|
name "LicenseDepSpec"
|
|
name "FetchableURIDepSpec"
|
|
name "SimpleURIDepSpec"
|
|
name "AllDepSpec"
|
|
name "AnyDepSpec"
|
|
name "ExactlyOneDepSpec"
|
|
name "AtMostOneDepSpec"
|
|
name "ConditionalDepSpec"
|
|
name "BlockDepSpec"
|
|
name "StringDepSpec"
|
|
name "NamedSetDepSpec"
|
|
name "URILabelsDepSpec"
|
|
name "PlainTextLabelDepSpec"
|
|
name "DependenciesLabelsDepSpec"
|
|
|
|
# paludis/dep_tree-fwd.hh
|
|
name "GenericSpecTree"
|
|
name "LicenseSpecTree"
|
|
name "FetchableURISpecTree"
|
|
name "SimpleURISpecTree"
|
|
name "PlainTextSpecTree"
|
|
name "RequiredUseSpecTree"
|
|
name "DependencySpecTree"
|
|
name "SetSpecTree"
|
|
|
|
|
|
# paludis/name-fwd.hh
|
|
name "PackageNamePart"
|
|
name "PackageNamePartSet"
|
|
name "CategoryNamePart"
|
|
name "CategoryNamePartSet"
|
|
name "QualifiedPackageName"
|
|
name "QualifiedPackageNameSet"
|
|
name "SlotName"
|
|
name "RepositoryName"
|
|
name "KeywordName"
|
|
name "KeywordNameSet"
|
|
name "SetName"
|
|
name "SetNameSet"
|
|
}
|
|
|
|
make_nn_LowercaseNiceNames() {
|
|
namespace "paludis::python"
|
|
|
|
name "std::string" "string"
|
|
|
|
name "KeywordName" "keyword_name"
|
|
name "PackageDepSpec" "package_dep_spec"
|
|
name "BlockDepSpec" "block_dep_spec"
|
|
name "FetchableURIDepSpec" "fetchable_uri_dep_spec"
|
|
name "SimpleURIDepSpec" "simple_uri_dep_spec"
|
|
name "DependenciesLabelsDepSpec" "dependencies_labels_dep_spec"
|
|
name "URILabelsDepSpec" "uri_labels_dep_spec"
|
|
name "PlainTextLabelDepSpec" "plain_text_label_dep_spec"
|
|
name "PlainTextDepSpec" "plain_text_dep_spec"
|
|
name "LicenseDepSpec" "license_dep_spec"
|
|
name "ConditionalDepSpec" "conditional_dep_spec"
|
|
name "NamedSetDepSpec" "named_set_dep_spec"
|
|
}
|