Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
1.2k
Issue boards
Milestones
Code
Merge requests
681
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
e0eb2163
Commit
e0eb2163
authored
1 month ago
by
Hoang Nguyen
🐢
Committed by
Kevin Daudt
1 week ago
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-gql: new aport
parent
32752de9
Loading
Loading
1 merge request
!77073
community/py3-gitlab: upgrade to 5.1.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/py3-gql/APKBUILD
+64
-0
64 additions, 0 deletions
community/py3-gql/APKBUILD
with
64 additions
and
0 deletions
community/py3-gql/APKBUILD
0 → 100644
+
64
−
0
View file @
e0eb2163
maintainer
=
"Hoang Nguyen <folliekazetani@protonmail.com>"
pkgname
=
py3-gql
pkgver
=
3.5.0
pkgrel
=
0
pkgdesc
=
"GraphQL client in Python"
url
=
"https://gql.readthedocs.io/"
arch
=
"noarch"
license
=
"MIT"
depends
=
"
python3
py3-anyio
py3-backoff
py3-graphql-core
py3-yarl
"
makedepends
=
"py3-setuptools"
checkdepends
=
"
py3-aiofiles
py3-aiohttp
py3-mock
py3-parse
py3-pytest
py3-pytest-asyncio
py3-pytest-console-scripts
py3-requests
py3-requests-toolbelt
py3-urllib3
py3-botocore
py3-httpx
py3-vcrpy
py3-websockets
"
subpackages
=
"
$pkgname
-pyc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/graphql-python/gql/archive/refs/tags/v
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/gql-
$pkgver
"
build
()
{
python3 setup.py build
}
check
()
{
# test_get_introspection_query_ast and test_async_client_validation_fetch_schema_from_server_valid_query simply fails (TODO: investigate more / report upstream)
# test_httpx_using_cli_ep and test_httpx_using_cli_ep try to execute gql-cli
local
_skipped_tests
=
"
not test_get_introspection_query_ast
and not test_aiohttp_using_cli_ep
and not test_httpx_using_cli_ep
and not test_async_client_validation_fetch_schema_from_server_valid_query"
# All tests in test_transport.py and test_transport_batch.py rely on a locally running graphql API endpoint
# shellcheck disable=SC2116
pytest tests/
\
--ignore
=
tests/test_transport.py
\
--ignore
=
tests/test_transport_batch.py
\
-k
"
$(
echo
$_skipped_tests
)
"
}
package
()
{
python3 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
}
sha512sums
=
"
82be1ed1cf8ebebb7ae7a10486e1c9896a12e29aa4edc65d4198eb7593839ae666f519a54f89a7a38bd5306f625fc243eaa99b80524412a6466168ee7693a6bf py3-gql-3.5.0.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment