From 778b908423d878f66d3f253d4beb50eef82129a9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 12 Jan 2018 22:36:51 -0200 Subject: [PATCH] New package: python-ruamel.yaml-0.15.35. --- srcpkgs/python-ruamel.yaml/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3-ruamel.yaml | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-ruamel.yaml/template create mode 120000 srcpkgs/python3-ruamel.yaml diff --git a/srcpkgs/python-ruamel.yaml/template b/srcpkgs/python-ruamel.yaml/template new file mode 100644 index 00000000000..3f0e148db84 --- /dev/null +++ b/srcpkgs/python-ruamel.yaml/template @@ -0,0 +1,28 @@ +# Template file for 'python-ruamel.yaml' +pkgname=python-ruamel.yaml +version=0.15.35 +revision=1 +wrksrc="ruamel.yaml-${version}" +build_style=python-module +pycompile_module="ruamel/yaml" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" +short_desc="YAML parser/emitter in Python2" +maintainer="maxice8 " +license="MIT" +homepage="https://bitbucket.org/ruamel/yaml" +distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz" +checksum=8dc74821e4bb6b21fb1ab35964e159391d99ee44981d07d57bf96e2395f3ef75 + +post_install() { + vlicense LICENSE +} + +python3-ruamel.yaml_package() { + pycompile_module="ruamel/yaml" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-ruamel.yaml b/srcpkgs/python3-ruamel.yaml new file mode 120000 index 00000000000..6fd88536619 --- /dev/null +++ b/srcpkgs/python3-ruamel.yaml @@ -0,0 +1 @@ +python-ruamel.yaml \ No newline at end of file