Skip to content

Commit

Permalink
psycopg2 mac support
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 9, 2024
1 parent cdf6738 commit 98f0489
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
./vcpkg/vcpkg install $VCPKG_OPTIONS py-pip
./vcpkg/vcpkg install $VCPKG_OPTIONS py-sip
./vcpkg/vcpkg install $VCPKG_OPTIONS py-numpy
./vcpkg/vcpkg install $VCPKG_OPTIONS py-psycopg2
# ./vcpkg/vcpkg install $VCPKG_OPTIONS py-pyqt6
- name: 📑 Upload logs
Expand Down
2 changes: 1 addition & 1 deletion ports/py-psycopg2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vcpkg_from_pythonhosted(
SHA512 a691fd09762221e854861dedce37b05e5354e0701feea470a6d5046960056ef02a8c9ecfa751adeba485271ea7d5834643b7d3a3c3f3270087f5ed9c68509f5f
)

vcpkg_add_to_path("${CURRENT_INSTALLED_DIR}/tools/libpq")
vcpkg_add_to_path("${CURRENT_INSTALLED_DIR}/tools/libpq/bin")

set(ENV{INCLUDE} "${CURRENT_INSTALLED_DIR}/include;$ENV{INCLUDE}")

Expand Down
2 changes: 1 addition & 1 deletion ports/py-psycopg2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "py-psycopg2",
"version": "2.9.9",
"port-version": 1,
"port-version": 2,
"description": "Python-PostgreSQL Database Adapter",
"homepage": "https://psycopg.org/",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
},
"py-psycopg2": {
"baseline": "2.9.9",
"port-version": 1
"port-version": 2
},
"py-pyparsing": {
"baseline": "3.1.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/py-psycopg2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "950f031c4a487378de1cad7bbb7a59b6d0538113",
"version": "2.9.9",
"port-version": 2
},
{
"git-tree": "cb539d44d3100730f03dd219e73e4cc40a417e6d",
"version": "2.9.9",
Expand Down

0 comments on commit 98f0489

Please sign in to comment.