From 67822ff7b2308e5dc61b2702b0ed2cc1f504e78f 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:58:43 +0700 Subject: [PATCH] python-simplebayes: drop package --- srcpkgs/python-simplebayes/template | 31 ---------------------------- srcpkgs/python3-simplebayes | 1 - srcpkgs/python3-simplebayes/template | 18 ++++++++++++++++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-simplebayes/template delete mode 120000 srcpkgs/python3-simplebayes create mode 100644 srcpkgs/python3-simplebayes/template diff --git a/srcpkgs/python-simplebayes/template b/srcpkgs/python-simplebayes/template deleted file mode 100644 index 6c95222fa7e..00000000000 --- a/srcpkgs/python-simplebayes/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-simplebayes' -pkgname=python-simplebayes -version=1.5.8 -revision=2 -archs=noarch -wrksrc="simplebayes-${version}" -build_style=python-module -pycompile_module="simplebayes" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Bayesian text classifier (Python2)" -maintainer="bra1nwave " -license="MIT" -homepage="https://github.com/hickeroar/simplebayes" -distfiles="${PYPI_SITE}/s/simplebayes/simplebayes-${version}.tar.gz" -checksum=363418c0ef185ac2158ebbd6d8afb45aa997254fcb809a73ed20a7d5dccf8b85 - -post_install() { - vlicense LICENSE -} - -python3-simplebayes_package() { - short_desc="${short_desc/Python2/Python3}" - pycompile_module="simplebayes" - archs=noarch - depends="python3" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-simplebayes b/srcpkgs/python3-simplebayes deleted file mode 120000 index aef1fc58782..00000000000 --- a/srcpkgs/python3-simplebayes +++ /dev/null @@ -1 +0,0 @@ -python-simplebayes \ No newline at end of file diff --git a/srcpkgs/python3-simplebayes/template b/srcpkgs/python3-simplebayes/template new file mode 100644 index 00000000000..b87732b1e45 --- /dev/null +++ b/srcpkgs/python3-simplebayes/template @@ -0,0 +1,18 @@ +# Template file for 'python3-simplebayes' +pkgname=python3-simplebayes +version=1.5.8 +revision=3 +wrksrc="simplebayes-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Bayesian text classifier (Python3)" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/hickeroar/simplebayes" +distfiles="${PYPI_SITE}/s/simplebayes/simplebayes-${version}.tar.gz" +checksum=363418c0ef185ac2158ebbd6d8afb45aa997254fcb809a73ed20a7d5dccf8b85 + +post_install() { + vlicense LICENSE +}