python3-pystache: remove package

This package is not required by any package in the repository and fails
to build with Python 3.13.
This commit is contained in:
Andrew J. Hesford 2024-11-16 09:25:57 -05:00
parent fa8d67d278
commit c4563fb928
3 changed files with 1 additions and 51 deletions

View file

@ -1,27 +0,0 @@
1. setuptools no longer supports use_2to3, so drop the setup() arg
2. Drop the pystache-test entrypoint script here rather than in-template
--- ./setup.py
+++ ./setup.py
@@ -351,13 +351,6 @@
"""
extra = {}
- # TODO: it might be more correct to check whether we are using
- # Distribute instead of setuptools, since use_2to3 doesn't take
- # effect when using Python 2, even when using Distribute.
- if py_version >= (3, ):
- # Causes 2to3 to be run during the build step.
- extra['use_2to3'] = True
-
return extra
@@ -401,7 +394,6 @@
entry_points = {
'console_scripts': [
'pystache=pystache.commands.render:main',
- 'pystache-test=pystache.commands.test:main',
],
},
classifiers = CLASSIFIERS,

View file

@ -1,24 +0,0 @@
# Template file for 'python3-pystache'
pkgname=python3-pystache
version=0.5.4
revision=8
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Python3 implementation of Mustache"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/defunkt/pystache"
distfiles="${PYPI_SITE}/p/pystache/pystache-${version}.tar.gz"
checksum=f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a
do_build() {
# Convert py2 syntax to py3 since setuptools no longer does it
2to3-${py3_ver} -w pystache
python3 setup.py build --build-base=build-${py3_ver}
}
post_install() {
vlicense LICENSE
ln -s pystache "${DESTDIR}/usr/bin/pystache3"
}

View file

@ -737,6 +737,7 @@ replaces="
python3-pyside2<=5.15.10_1
python3-pyside<=5.15.0_2
python3-pyspotify<=2.1.3_5
python3-pystache<=0.5.4_8
python3-sabyenc3<=5.4.4_2
python3-scikit-video<=1.1.11_6
python3-shiboken2<=5.15.10_2