Skip to content

Commit

Permalink
Update autotools to non-assemblable datafile handler
Browse files Browse the repository at this point in the history
Reference: #3560
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
AyanSinhaMahapatra committed Mar 1, 2024
1 parent a7ee130 commit c8f854a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 340 deletions.
10 changes: 1 addition & 9 deletions src/packagedcode/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def logger_debug(*args):
)


class AutotoolsConfigureHandler(models.DatafileHandler):
class AutotoolsConfigureHandler(models.NonAssemblableDatafileHandler):
datasource_id = 'autotools_configure'
path_patterns = ('*/configure', '*/configure.ac',)
default_package_type = 'autotools'
Expand All @@ -74,14 +74,6 @@ def parse(cls, location):
version=version,
)

@classmethod
def assign_package_to_resources(cls, package, resource, codebase, package_adder):
models.DatafileHandler.assign_package_to_parent_tree(
package=package,
resource=resource,
codebase=codebase,
package_adder=package_adder,
)


def check_rule_name_ending(rule_name, starlark_rule_types=('binary', 'library')):
Expand Down
Loading

0 comments on commit c8f854a

Please sign in to comment.