diff --git a/srcpkgs/python-tqdm/template b/srcpkgs/python-tqdm/template deleted file mode 100644 index f7ee7d037af..00000000000 --- a/srcpkgs/python-tqdm/template +++ /dev/null @@ -1,40 +0,0 @@ -# Template file for 'python-tqdm' -pkgname=python-tqdm -version=4.48.2 -revision=1 -archs=noarch -wrksrc="tqdm-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="Fast, extensible progress bar for Python and CLI (Python2)" -maintainer="bra1nwave " -license="MPL-2.0, MIT" -homepage="https://tqdm.github.io/" -distfiles="https://github.com/tqdm/tqdm/archive/v${version}.tar.gz" -checksum=91a61673103ae2d5a1b93672ff60455d689b58372c08b1a27e1a7def71dc05a3 -alternatives=" - tqdm:tqdm:/usr/bin/tqdm2 - tqdm:tqdm.1:/usr/share/man/man1/tqdm2.1" - -post_install() { - rm -f ${DESTDIR}/${py2_sitelib}/tqdm/tqdm.1 - vman tqdm/tqdm.1 tqdm2.1 - vlicense LICENCE -} - -python3-tqdm_package() { - alternatives=" - tqdm:tqdm:/usr/bin/tqdm3 - tqdm:tqdm.1:/usr/share/man/man1/tqdm3.1" - archs=noarch - depends="python3-setuptools" - short_desc="${short_desc/2/3}" - pkg_install() { - rm -f ${DESTDIR}/${py3_sitelib}/tqdm/tqdm.1 - vman tqdm/tqdm.1 tqdm3.1 - vmove "usr/lib/python3*" - vmove usr/bin/tqdm3 - vlicense LICENCE - } -} diff --git a/srcpkgs/python3-tqdm b/srcpkgs/python3-tqdm deleted file mode 120000 index 86d7b33b60a..00000000000 --- a/srcpkgs/python3-tqdm +++ /dev/null @@ -1 +0,0 @@ -python-tqdm \ No newline at end of file diff --git a/srcpkgs/python3-tqdm/template b/srcpkgs/python3-tqdm/template new file mode 100644 index 00000000000..2b686aa510b --- /dev/null +++ b/srcpkgs/python3-tqdm/template @@ -0,0 +1,20 @@ +# Template file for 'python3-tqdm' +pkgname=python3-tqdm +version=4.48.2 +revision=2 +wrksrc="tqdm-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Fast, extensible progress bar for Python and CLI (Python3)" +maintainer="bra1nwave " +license="MPL-2.0, MIT" +homepage="https://tqdm.github.io/" +distfiles="https://github.com/tqdm/tqdm/archive/v${version}.tar.gz" +checksum=91a61673103ae2d5a1b93672ff60455d689b58372c08b1a27e1a7def71dc05a3 +conflicts="python-tqdm>=0" + +post_install() { + vman tqdm/tqdm.1 tqdm.1 + vlicense LICENCE +}