Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-jsonschema: update to 3.0.2 #14417

Merged
merged 1 commit into from Sep 13, 2019

Conversation

fosslinux
Copy link
Contributor

No description provided.

@Hoshpak Hoshpak merged commit 353efa4 into void-linux:master Sep 13, 2019
@fosslinux fosslinux deleted the python-jsonschema-3.0.2 branch September 13, 2019 07:04
@Duncaen
Copy link
Member

Duncaen commented Sep 14, 2019

This broken in multiple ways, it has missing runtime dependencies and other packages are not compatible with it.

@Duncaen
Copy link
Member

Duncaen commented Sep 14, 2019

Also the sed in pre_build has no effect, not sure what it exactly did, but seems like setup.cfg is defining some things that were patched out.

@fosslinux
Copy link
Contributor Author

I did not have missing runtime dependencies when I updated it. I should be doing my development on a clean slate, shouldn't I 😬

@fosslinux
Copy link
Contributor Author

I'll redo the pull request when I fix that up. My apologies!!!

@fosslinux fosslinux restored the python-jsonschema-3.0.2 branch September 14, 2019 21:34
@bobertlo
Copy link
Contributor

I got this far on this dependency, which fixed anki at least, but docker-compose refuses to run with any 3.x version, so I think this is stuck unless there's a good reason to update it (and create multiple versions)

pkgname=python-pyrsistent
version=0.15.4
revision=1
#archs=noarch
wrksrc="pyrsistent-${version}"
build_style=python-module
pycompile_module="pyrsistent"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
checkdepends="python-hypothesis python-pytest python3-hypothesis python3-pytest"
depends="python-six"
short_desc="Persistent/Immutable/Functional data structures for Python"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent"
distfiles="https://github.com/tobgu/pyrsistent/archive/v${version}.tar.gz"
checksum=664f3ebc6630c3109d457f29e1e8c090c07ec5c7d5fc80d9f7d115f0ec67fc93

pkg_install() {
        vlicense LICENCE.mit
}

python3-pyrsistent_package() {
        archs=noarch
        pycompile_module="pyrsistent"
        depends="python3-six"
        short_desc="${short_desc/Python2/Python3}"
        pkg_install() {
                vlicense LICENCE.mit
                vmove "usr/lib/python3*"
        }
}

@fosslinux
Copy link
Contributor Author

Thank you for the template @bobertlo.

I got this far on this dependency, which fixed anki at least, but docker-compose refuses to run with any 3.x version, so I think this is stuck unless there's a good reason to update it (and create multiple versions)

I'm not completely sure what you mean here; https://github.com/void-linux/void-packages/blob/master/srcpkgs/docker-compose/template seems like to me it works with python3. Also, python-jsonschema is python2 and 3. docker/compose#2097 says that docker-compose supports python3. I'll take another stab at this soon.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants