python3-jsonschema: changed to build/pip build system
This commit is contained in:
parent
a9ccd7f6a6
commit
faf5ad7c4f
@ -4,13 +4,16 @@ drwxr-xr-x root/root usr/bin/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python3.9/
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/PKG-INFO
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/SOURCES.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/dependency_links.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/entry_points.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/requires.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0-py3.9.egg-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/COPYING
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/INSTALLER
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/METADATA
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/RECORD
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/REQUESTED (EMPTY)
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/WHEEL
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/direct_url.json
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/entry_points.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema-4.4.0.dist-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/jsonschema/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/jsonschema/__main__.py
|
||||
|
@ -1,6 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3/9wBayXBoKgii3KuP3p1t9JOfFDFWft5xdGfEPA9qYdzdvgyUV/x0C8klXOvT1s/GvdzQ0XGfHyRBsOqFZTEgs=
|
||||
SHA256 (Pkgfile) = 7a128964fd9d4b49cd2c9aaa77f92310e26fcef2bacaacbb34cab73d1bc3bd42
|
||||
SHA256 (.footprint) = a4cf2ffb6ad1d8319008eaac925f9d68219430c0614566bc40a591bdecbcb7da
|
||||
RWSagIOpLGJF3/UqOy+M/RwhSzywBphupkilLPLey/qG5gatoUEkWcmo0T8D1fUvxQC1qoW4BaY1VMG1DJbGHNlHWVb8wUEQxQc=
|
||||
SHA256 (Pkgfile) = eeab959aa84fa108806689529034448ad858af898c7b29098080470aa28b2e41
|
||||
SHA256 (.footprint) = 3c0e02cd417b170f483774e293f3bd64d0ecade3eb9b17f29f066fcee2d11845
|
||||
SHA256 (jsonschema-4.4.0.tar.gz) = 636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
|
||||
SHA256 (setup.py) = 2bfed10ff42ea8eda7aa38897dd5042f155f837007ccaf73109c1bb51f3e42b9
|
||||
|
@ -1,17 +1,15 @@
|
||||
# Description: An implementation of JSON Schema validation for Python
|
||||
# URL: https://pypi.org/project/jsonschema/
|
||||
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
||||
# Depends on: python3-attrs python3-pyrsistent python3-importlib_metadata
|
||||
# Depends on: python3-attrs python3-pyrsistent python3-build python3-setuptools-scm
|
||||
|
||||
name=python3-jsonschema
|
||||
version=4.4.0
|
||||
release=1
|
||||
source=(https://pypi.python.org/packages/source/j/jsonschema/jsonschema-$version.tar.gz \
|
||||
setup.py)
|
||||
source=(https://pypi.python.org/packages/source/j/jsonschema/jsonschema-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd jsonschema-$version
|
||||
cp $SRC/setup.py .
|
||||
python3 setup.py build
|
||||
python3 setup.py install --root=$PKG
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG --ignore-installed --no-deps dist/*.whl
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
#/usr/bin/env python3
|
||||
|
||||
import setuptools
|
||||
|
||||
if __name__ == "__main__":
|
||||
setuptools.setup()
|
Loading…
x
Reference in New Issue
Block a user