From be4c9769f4cf09b35912b204aa4c6efa4362d0c1 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 23:29:40 +0700 Subject: [PATCH] python-arxiv2bib: drop package --- srcpkgs/python-arxiv2bib/template | 35 ------------------------------ srcpkgs/python3-arxiv2bib | 1 - srcpkgs/python3-arxiv2bib/template | 20 +++++++++++++++++ 3 files changed, 20 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/python-arxiv2bib/template delete mode 120000 srcpkgs/python3-arxiv2bib create mode 100644 srcpkgs/python3-arxiv2bib/template diff --git a/srcpkgs/python-arxiv2bib/template b/srcpkgs/python-arxiv2bib/template deleted file mode 100644 index 4f245755dcf..00000000000 --- a/srcpkgs/python-arxiv2bib/template +++ /dev/null @@ -1,35 +0,0 @@ -# Template file for 'python-arxiv2bib' -pkgname=python-arxiv2bib -version=1.0.8 -revision=3 -archs=noarch -wrksrc="arxiv2bib-${version}" -build_style=python-module -pycompile_module="arxiv2bib" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="Python2 package for getting arXiv data in BibTeX" -maintainer="xaltsc " -license="BSD-3-Clause" -homepage="http://nathangrigg.github.io/arxiv2bib" -distfiles="${PYPI_SITE}/a/arxiv2bib/arxiv2bib-${version}.tar.gz" -checksum=137608ed8aa4da6594350152964b9b0f46c6efcb07f8a4dfd50309c968b647a8 -alternatives="arxiv2bib:arxiv2bib:/usr/bin/arxiv2bib2" - -post_install() { - sed -n '3,28p' arxiv2bib.py > LICENSE - vlicense LICENSE -} - -python3-arxiv2bib_package() { - archs=noarch - pycompile_module="arxiv2bib.py" - alternatives="arxiv2bib:arxiv2bib:/usr/bin/arxiv2bib3" - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vmove usr/bin/*3 - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-arxiv2bib b/srcpkgs/python3-arxiv2bib deleted file mode 120000 index 6dea3caf912..00000000000 --- a/srcpkgs/python3-arxiv2bib +++ /dev/null @@ -1 +0,0 @@ -python-arxiv2bib \ No newline at end of file diff --git a/srcpkgs/python3-arxiv2bib/template b/srcpkgs/python3-arxiv2bib/template new file mode 100644 index 00000000000..74d3cc90961 --- /dev/null +++ b/srcpkgs/python3-arxiv2bib/template @@ -0,0 +1,20 @@ +# Template file for 'python3-arxiv2bib' +pkgname=python3-arxiv2bib +version=1.0.8 +revision=4 +wrksrc="arxiv2bib-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Python3 package for getting arXiv data in BibTeX" +maintainer="xaltsc " +license="BSD-3-Clause" +homepage="http://nathangrigg.github.io/arxiv2bib" +distfiles="${PYPI_SITE}/a/arxiv2bib/arxiv2bib-${version}.tar.gz" +checksum=137608ed8aa4da6594350152964b9b0f46c6efcb07f8a4dfd50309c968b647a8 +conflicts="python-arxiv2bib>=0" + +post_install() { + sed -n '3,28p' arxiv2bib.py > LICENSE + vlicense LICENSE +}