From 4f2c2ec7142f782d9e85059ffb914c217e500d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 16:15:38 +0700 Subject: [PATCH] python-toml: drop package --- srcpkgs/python-toml/template | 31 ------------------------------- srcpkgs/python3-toml | 1 - srcpkgs/python3-toml/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-toml/template delete mode 120000 srcpkgs/python3-toml create mode 100644 srcpkgs/python3-toml/template diff --git a/srcpkgs/python-toml/template b/srcpkgs/python-toml/template deleted file mode 100644 index 2fd6eaa0cea..00000000000 --- a/srcpkgs/python-toml/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-toml' -pkgname=python-toml -version=0.10.0 -revision=2 -archs=noarch -wrksrc="toml-${version}" -build_style=python-module -pycompile_module="toml" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Python2 library for TOML" -maintainer="AcidBear " -license="MIT" -homepage="https://github.com/uiri/toml" -distfiles="${PYPI_SITE}/t/toml/toml-${version}.tar.gz" -checksum=229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c - -pkg_install() { - vlicense LICENSE -} - -python3-toml_package() { - archs=noarch - depends="python3" - pycompile_module="toml" - short_desc=${short_desc/Python2/Python3} - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-toml b/srcpkgs/python3-toml deleted file mode 120000 index 42dc882fb73..00000000000 --- a/srcpkgs/python3-toml +++ /dev/null @@ -1 +0,0 @@ -python-toml \ No newline at end of file diff --git a/srcpkgs/python3-toml/template b/srcpkgs/python3-toml/template new file mode 100644 index 00000000000..da4f7137f8f --- /dev/null +++ b/srcpkgs/python3-toml/template @@ -0,0 +1,18 @@ +# Template file for 'python3-toml' +pkgname=python3-toml +version=0.10.0 +revision=3 +wrksrc="toml-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 library for TOML" +maintainer="AcidBear " +license="MIT" +homepage="https://github.com/uiri/toml" +distfiles="${PYPI_SITE}/t/toml/toml-${version}.tar.gz" +checksum=229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c + +pkg_install() { + vlicense LICENSE +}