Skip to content

Commit

Permalink
+psycopg
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Sep 20, 2024
1 parent fc28858 commit 82d032e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions projects/psycopg.org/psycopg2/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
distributable:
url: git+https://github.com/psycopg/psycopg2.git
ref: ${{version.tag}}

versions:
github: psycopg/psycopg2/tags

dependencies:
python.org: ~3.11
postgresql.org: '*'

runtime:
env:
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH

build: python -m pip install --prefix={{prefix}} .
test: python -c 'import psycopg2; print(psycopg2.__version__)' | grep {{version}}
17 changes: 17 additions & 0 deletions projects/psycopg.org/psycopg3/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
distributable:
url: git+https://github.com/psycopg/psycopg.git
ref: ${{version.tag}}

versions:
github: psycopg/psycopg/tags

dependencies:
python.org: ~3.11
postgresql.org: '*'

runtime:
env:
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH

build: python -m pip install --prefix={{prefix}} './psycopg[binary]'
test: python -c 'import psycopg; print(psycopg.__version__)' | grep {{version}}

0 comments on commit 82d032e

Please sign in to comment.