Skip to content

Commit

Permalink
Remove most now-extraneous install/no_install/ignore lists
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Oct 11, 2024
1 parent ee96f76 commit b336115
Show file tree
Hide file tree
Showing 62 changed files with 34 additions and 324 deletions.
8 changes: 4 additions & 4 deletions edgedbpkg/edgedb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def sh_get_build_wheel_env(
"OPENSSL_LIB_DIR",
build.sh_must_get_bundled_pkg_lib_path(
openssl_pkg,
relative_to="pkgsource",
relative_to="pkgbuild",
wd=wd,
),
)
Expand All @@ -332,7 +332,7 @@ def sh_get_build_wheel_env(
"OPENSSL_INCLUDE_DIR",
build.sh_must_get_bundled_pkg_include_path(
openssl_pkg,
relative_to="pkgsource",
relative_to="pkgbuild",
wd=wd,
),
)
Expand Down Expand Up @@ -604,7 +604,7 @@ def sh_get_build_wheel_env(
"OPENSSL_LIB_DIR",
build.sh_must_get_bundled_pkg_lib_path(
openssl_pkg,
relative_to="pkgsource",
relative_to="pkgbuild",
wd=wd,
),
)
Expand All @@ -613,7 +613,7 @@ def sh_get_build_wheel_env(
"OPENSSL_INCLUDE_DIR",
build.sh_must_get_bundled_pkg_include_path(
openssl_pkg,
relative_to="pkgsource",
relative_to="pkgbuild",
wd=wd,
),
)
Expand Down
3 changes: 3 additions & 0 deletions edgedbpkg/edgedb/install.list
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{libdir}/postgresql/*.so
{libdir}/python*/site-packages
{datadir}/postgresql/extension/*
{datadir}/data/**
{datadir}/tests/**
{bindir}/edgedb-server
{bindir}/edgedb-load-ext
{bindir}/edgedb-server.py
{bindir}/edgedb-load-ext.py
2 changes: 1 addition & 1 deletion edgedbpkg/edgedb_ls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def sh_get_build_wheel_env(
"OPENSSL_INCLUDE_DIR",
build.sh_must_get_bundled_pkg_include_path(
openssl_pkg,
relative_to="pkgsource",
relative_to="pkgbuild",
wd=wd,
),
)
Expand Down
4 changes: 2 additions & 2 deletions edgedbpkg/edgedbcli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def get_package_layout(
) -> packages.PackageFileLayout:
return packages.PackageFileLayout.SINGLE_BINARY

def get_license_files_pattern(self) -> str:
return ""
def get_license_files_patterns(self) -> list[str]:
return []

def get_artifact_metadata(self, build: targets.Build) -> dict[str, Any]:
metadata = dict(super().get_artifact_metadata(build))
Expand Down
1 change: 0 additions & 1 deletion edgedbpkg/icu/install.list

This file was deleted.

4 changes: 0 additions & 4 deletions edgedbpkg/icu/no_install.list
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{libdir}/icu
{libdir}/icu/**
{libdir}/pkgconfig
{libdir}/pkgconfig/**
{libdir}/*.a
{libdir}/*.la
{libdir}/libicuio*
{libdir}/libicutest*
{libdir}/libicutu*
1 change: 0 additions & 1 deletion edgedbpkg/libabseil/install.list

This file was deleted.

14 changes: 0 additions & 14 deletions edgedbpkg/libabseil/no_install.list

This file was deleted.

4 changes: 0 additions & 4 deletions edgedbpkg/libb2/ignore.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libb2/install.list

This file was deleted.

4 changes: 0 additions & 4 deletions edgedbpkg/libb2/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libexpat/install.list

This file was deleted.

15 changes: 0 additions & 15 deletions edgedbpkg/libexpat/no_install.list

This file was deleted.

2 changes: 0 additions & 2 deletions edgedbpkg/libffi/ignore.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libffi/install.list

This file was deleted.

4 changes: 0 additions & 4 deletions edgedbpkg/libffi/no_install.list

This file was deleted.

2 changes: 1 addition & 1 deletion edgedbpkg/libgdal/ignore.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{prefix}/share/**
{datadir}/**
5 changes: 1 addition & 4 deletions edgedbpkg/libgdal/install.list
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
{libdir}/**
{prefix}/share
{prefix}/share/gdal
{prefix}/share/gdal/**
{datadir}/gdal/**
14 changes: 0 additions & 14 deletions edgedbpkg/libgdal/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libgeos/install.list

This file was deleted.

14 changes: 0 additions & 14 deletions edgedbpkg/libgeos/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libgeotiff/install.list

This file was deleted.

14 changes: 0 additions & 14 deletions edgedbpkg/libgeotiff/no_install.list

This file was deleted.

3 changes: 1 addition & 2 deletions edgedbpkg/libjson_c/install.list
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{libdir}/**
{prefix}/share/proj/**
{datadir}/proj/**
12 changes: 0 additions & 12 deletions edgedbpkg/libjson_c/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libjsoncpp/install.list

This file was deleted.

14 changes: 0 additions & 14 deletions edgedbpkg/libjsoncpp/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libpcre2/ignore.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libpcre2/install.list

This file was deleted.

12 changes: 0 additions & 12 deletions edgedbpkg/libpcre2/no_install.list

This file was deleted.

3 changes: 1 addition & 2 deletions edgedbpkg/libproj/install.list
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{libdir}/**
{prefix}/share/proj/**
{datadir}/proj/**
16 changes: 0 additions & 16 deletions edgedbpkg/libproj/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libprotobuf_c/install.list

This file was deleted.

14 changes: 0 additions & 14 deletions edgedbpkg/libprotobuf_c/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libsqlite3/install.list

This file was deleted.

7 changes: 0 additions & 7 deletions edgedbpkg/libsqlite3/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libtiff/install.list

This file was deleted.

14 changes: 0 additions & 14 deletions edgedbpkg/libtiff/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libuuid/install.list

This file was deleted.

4 changes: 0 additions & 4 deletions edgedbpkg/libuuid/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/libxml2/install.list

This file was deleted.

19 changes: 0 additions & 19 deletions edgedbpkg/libxml2/no_install.list

This file was deleted.

14 changes: 14 additions & 0 deletions edgedbpkg/openssl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import pathlib
import platform
import re
import shlex
Expand Down Expand Up @@ -99,3 +100,16 @@ def from_upstream_version(cls, version: str) -> OpenSSL:

def get_shlibs(self, build: targets.Build) -> list[str]:
return ["ssl", "crypto"]

def provides_build_tools(self) -> bool:
return True

def get_install_path(
self,
build: targets.Build,
aspect: targets.InstallAspect,
) -> pathlib.Path | None:
if aspect == "include":
return build.get_install_prefix(self) / "include"
else:
return super().get_install_path(build, aspect)
2 changes: 0 additions & 2 deletions edgedbpkg/openssl/ignore.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
{bindir}/*
{prefix}/share/**
{prefix}/etc/**
{prefix}/include/**
2 changes: 1 addition & 1 deletion edgedbpkg/openssl/install.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{libdir}/**
{libdir}/ossl-modules/*
8 changes: 0 additions & 8 deletions edgedbpkg/openssl/no_install.list

This file was deleted.

1 change: 0 additions & 1 deletion edgedbpkg/pgext/pgvector/ignore.list

This file was deleted.

4 changes: 2 additions & 2 deletions edgedbpkg/pgext/postgis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PostGIS(pgext.PostgresCExtension):
]

artifact_requirements = [
"libgdal (>=2.0.0)",
"libgdal (>=3.0.0)",
"libgeos (>=3.9.0)",
"libjson-c",
"libpcre2-dev",
Expand All @@ -42,7 +42,7 @@ class PostGIS(pgext.PostgresCExtension):

artifact_build_requirements = [
"postgresql-edgedb (>=13)",
"libgdal-dev (>=2.0.0)",
"libgdal-dev (>=3.0.0)",
"libgeos-dev (>=3.9.0)",
"libjson-c-dev",
"libpcre2-dev",
Expand Down
Loading

0 comments on commit b336115

Please sign in to comment.