From 478cd1c24c0dde3e2b68477f2d01b00f9cb5134c Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Sun, 29 Nov 2020 12:28:24 -0600 Subject: [PATCH 1/2] New package: python3-pyrsistent --- srcpkgs/python3-pyrsistent/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-pyrsistent/template diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template new file mode 100644 index 00000000000..5733e49d221 --- /dev/null +++ b/srcpkgs/python3-pyrsistent/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pyrsistent' +pkgname=python3-pyrsistent +version=0.17.3 +revision=1 +wrksrc="pyrsistent-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3" +short_desc="Python persistent immutable data structures" +maintainer="Nathan Owens " +license="MIT" +homepage="https://github.com/tobgu/pyrsistent/" +distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz" +checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e + +post_install() { + vlicense LICENCE.mit LICENSE +} From 9fc60911c6fcd0be00076daeb0056ba1b734554a Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Sun, 29 Nov 2020 12:15:09 -0600 Subject: [PATCH 2/2] python3-jsonschema: update to 3.2.0 --- srcpkgs/python3-jsonschema/template | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index c3954b106dc..655473af97f 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,27 +1,21 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema reverts="3.0.2_1" -version=2.6.0 -revision=6 +version=3.2.0 +revision=1 wrksrc="jsonschema-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-setuptools" +depends="python3-setuptools python3-six python3-attrs python3-pyrsistent" short_desc="Implementation of JSON Schema for Python3" maintainer="Orphaned " license="MIT" homepage="https://github.com/Julian/jsonschema" +changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" -checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02 +checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a conflicts="python-jsonschema>=0" -pre_build() { - vsed -i setup.py \ - -e '/setup_requires/d' \ - -e '/vcversioner/d' \ - -e "/name=/a\ - version=\"${version}\"," -} post_install() { vlicense COPYING LICENSE }