New package: pgcli-2.1.0
This commit is contained in:
parent
56b5efeed4
commit
d3686fea5b
2 changed files with 42 additions and 0 deletions
16
srcpkgs/pgcli/patches/relax-dependencies.patch
Normal file
16
srcpkgs/pgcli/patches/relax-dependencies.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
Seemingly the only breaking change in these updates is dropping support
|
||||||
|
for old Python releases, so we should be fine.
|
||||||
|
|
||||||
|
--- setup.py
|
||||||
|
+++ setup.py
|
||||||
|
@@ -16,8 +16,8 @@ install_requirements = [
|
||||||
|
'click >= 4.1',
|
||||||
|
'Pygments >= 2.0', # Pygments has to be Capitalcased. WTF?
|
||||||
|
'prompt_toolkit>=2.0.6,<2.1.0',
|
||||||
|
- 'psycopg2 >= 2.7.4,<2.8',
|
||||||
|
- 'sqlparse >=0.2.2,<0.3.0',
|
||||||
|
+ 'psycopg2 >= 2.7.4,<2.9',
|
||||||
|
+ 'sqlparse >=0.2.2,<0.4.0',
|
||||||
|
'configobj >= 5.0.6',
|
||||||
|
'humanize >= 0.5.1',
|
||||||
|
'cli_helpers[styles] >= 1.2.0',
|
26
srcpkgs/pgcli/template
Normal file
26
srcpkgs/pgcli/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'pgcli'
|
||||||
|
pkgname=pgcli
|
||||||
|
version=2.1.0
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
build_style=python3-module
|
||||||
|
pycompile_module="pgcli"
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-pgspecial python3-click python3-Pygments python3-prompt_toolkit2
|
||||||
|
python3-psycopg2 python3-sqlparse python3-configobj python3-humanize
|
||||||
|
python3-cli_helpers python3-setproctitle"
|
||||||
|
short_desc="PostgreSQL CLI with autocompletion and syntax highlighting"
|
||||||
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://www.pgcli.com"
|
||||||
|
distfiles="${PYPI_SITE}/p/pgcli/pgcli-${version}.tar.gz"
|
||||||
|
checksum=3791a3c7734802fd14fefe9d18082a95687a02631f3287bd154cd27b4f12c05c
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
# pgcli tests require a PostgreSQL server; skip them.
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue