Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typing issues #61

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edgedbpkg/edgedb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

class EdgeDB(packages.BundledPythonPackage):
title = "EdgeDB"
name = "edgedb-server"
name = packages.canonicalize_name("edgedb-server")
description = "Next generation graph-relational database"
license_id = "Apache-2.0"
group = "Applications/Databases"
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/edgedbcli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class EdgeDBCLI(packages.BundledRustPackage):
title = "EdgeDBCLI"
name = "edgedb-cli"
name = packages.canonicalize_name("edgedb-cli")
description = "EdgeDB Command Line Tools"
license_id = "Apache-2.0"
group = "Applications/Databases"
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/icu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ICU(packages.BundledCPackage):
title = "ICU"
name = "icu"
name = packages.canonicalize_name("icu")
aliases = ["icu-dev"]

_server = "https://github.com/unicode-org/icu/releases/download/"
Expand Down
3 changes: 1 addition & 2 deletions edgedbpkg/libb2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@


class LibB2(packages.BundledCPackage):

title = "libb2"
name = "libb2"
name = packages.canonicalize_name("libb2")
aliases = ["libb2-dev"]

_server = "https://github.com/BLAKE2/libb2/releases/download/"
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/libffi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class LibFFI(packages.BundledCPackage):
title = "libffi"
name = "libffi"
name = packages.canonicalize_name("libffi")
aliases = ["libffi-dev"]

_server = "https://github.com/libffi/libffi/releases/download/"
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/libuuid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class LibUUID(packages.BundledCPackage):
title = "uuid"
name = "uuid"
name = packages.canonicalize_name("uuid")
aliases = ["uuid-dev"]

_server = "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/"
Expand Down
3 changes: 1 addition & 2 deletions edgedbpkg/openssl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
import platform
import re
import shlex
import textwrap

from metapkg import packages
from metapkg import targets


class OpenSSL(packages.BundledCPackage):
title = "OpenSSL"
name = "openssl"
name = packages.canonicalize_name("openssl")
aliases = ["openssl-dev"]

_server = "https://www.openssl.org/source/"
Expand Down
5 changes: 3 additions & 2 deletions edgedbpkg/pgbundle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@


class PostgreSQLBundle(packages.BundledPackage):

title = "PostgreSQL"
name = "postgresql-bundle"
name = packages.canonicalize_name("postgresql-bundle")
group = "Applications/Databases"

sources = [
Expand All @@ -28,6 +27,8 @@ class PostgreSQLBundle(packages.BundledPackage):
},
]

bundle_deps: list[packages.BundledPackage]

@classmethod
def resolve(
cls,
Expand Down
3 changes: 1 addition & 2 deletions edgedbpkg/pgext/pgvector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@


class PgVector(packages.BundledCPackage):

title = "pgvector extension"
name = "pgext-pgvector"
name = packages.canonicalize_name("pgext-pgvector")
description = "Open-source vector similarity search for Postgres"
license_id = "PostgreSQL"
group = "Applications/Databases"
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/postgresql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class PostgreSQL(packages.BundledCPackage):
title = "PostgreSQL"
name = "postgresql-edgedb"
name = packages.canonicalize_name("postgresql-edgedb")
group = "Applications/Databases"

sources = [
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/pyentrypoint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class PyEntryPoint(packages.BundledRustPackage):
title = "pyentrypoint"
name = "pyentrypoint"
name = packages.canonicalize_name("pyentrypoint")
sources = [
{
"url": f"file://{source}",
Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class Python(packages.BundledCPackage):
title = "Python"
name = "python-edgedb"
name = packages.canonicalize_name("python-edgedb")

_pftp = "https://www.python.org/ftp/python/{base_version}/"

Expand Down
2 changes: 1 addition & 1 deletion edgedbpkg/zlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class Zlib(packages.BundledCPackage):
title = "zlib"
name = "zlib"
name = packages.canonicalize_name("zlib")
aliases = ["zlib-dev"]

_server = "https://zlib.net/fossils/"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ line-length = 79
target-version = ["py39"]

[tool.mypy]
files = "edgedbpkg/**/*.py"
files = "edgedbpkg"
python_version = "3.9"
ignore_missing_imports = true
show_error_codes = true
Expand Down
Loading