From dae26c0b7d8f2fa5a1069d26ecbca8453aa999e3 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 17 Jul 2024 09:44:35 -0400 Subject: [PATCH] Revert "python-cffi: update to 1.16.0." This update was never compatible with Python 2. This reverts commit c6535b1314885914f319f07543c036cde2992a74. --- srcpkgs/python-cffi/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-cffi/template b/srcpkgs/python-cffi/template index 949f6d6222c906..683db6c7b96794 100644 --- a/srcpkgs/python-cffi/template +++ b/srcpkgs/python-cffi/template @@ -1,18 +1,23 @@ # Template file for 'python-cffi' pkgname=python-cffi -version=1.16.0 -revision=1 +reverts="1.16.0_1" +version=1.15.1 +revision=3 build_style=python2-module hostmakedepends="python-setuptools libffi-devel" makedepends="python-devel libffi-devel" depends="python-pycparser" short_desc="C foreign function interface for Python2" -maintainer="Andrew J. Hesford " +maintainer="Orphaned " license="MIT" homepage="https://cffi.readthedocs.io/" changelog="https://cffi.readthedocs.io/en/latest/whatsnew.html" distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz" -checksum=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 +checksum=d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 + +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi post_install() { vlicense LICENSE