diff --git a/srcpkgs/python-jsonschema/template b/srcpkgs/python-jsonschema/template deleted file mode 100644 index 326b5609d3..0000000000 --- a/srcpkgs/python-jsonschema/template +++ /dev/null @@ -1,42 +0,0 @@ -# Template file for 'python-jsonschema' -pkgname=python-jsonschema -reverts="3.0.2_1" -version=2.6.0 -revision=4 -archs=noarch -wrksrc="jsonschema-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools python-functools32" -pycompile_module="jsonschema" -short_desc="Implementation of JSON Schema for Python2" -maintainer="Alessio Sergi " -homepage="https://github.com/Julian/jsonschema" -license="MIT" -distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" -checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02 -alternatives="jsonschema:jsonschema:/usr/bin/jsonschema2" - -pre_build() { - vsed -i setup.py \ - -e '/setup_requires/d' \ - -e '/vcversioner/d' \ - -e "/name=/a\ - version=\"${version}\"," -} -post_install() { - vlicense COPYING LICENSE -} - -python3-jsonschema_package() { - archs=noarch - depends="python3-setuptools" - pycompile_module="jsonschema" - short_desc="${short_desc/Python2/Python3}" - alternatives="jsonschema:jsonschema:/usr/bin/jsonschema3" - pkg_install() { - vmove usr/bin/jsonschema3 - vmove usr/lib/python3* - vlicense COPYING LICENSE - } -} diff --git a/srcpkgs/python3-jsonschema b/srcpkgs/python3-jsonschema deleted file mode 120000 index 7eeab716db..0000000000 --- a/srcpkgs/python3-jsonschema +++ /dev/null @@ -1 +0,0 @@ -python-jsonschema \ No newline at end of file diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template new file mode 100644 index 0000000000..48686ae9a7 --- /dev/null +++ b/srcpkgs/python3-jsonschema/template @@ -0,0 +1,27 @@ +# Template file for 'python3-jsonschema' +pkgname=python3-jsonschema +reverts="3.0.2_1" +version=2.6.0 +revision=5 +wrksrc="jsonschema-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Implementation of JSON Schema for Python3" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/Julian/jsonschema" +distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" +checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02 +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 +}