NetBSD Problem Report #54583

From www@netbsd.org  Sat Sep 28 18:37:25 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F065A7A1F1
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 28 Sep 2019 18:37:24 +0000 (UTC)
Message-Id: <20190928183723.E72407A243@mollari.NetBSD.org>
Date: Sat, 28 Sep 2019 18:37:24 +0000 (UTC)
From: dave@weller-fahy.com
Reply-To: dave@weller-fahy.com
To: gnats-bugs@NetBSD.org
Subject: devel/py-python-slugify does not execute after textproc/py-text-unidecode updated to 1.3
X-Send-Pr-Version: www-1.0

>Number:         54583
>Category:       pkg
>Synopsis:       devel/py-python-slugify does not execute after textproc/py-text-unidecode updated to 1.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 18:40:00 +0000 2019
>Closed-Date:    Mon Sep 30 11:08:01 +0000 2019
>Last-Modified:  Mon Sep 30 11:10:01 +0000 2019
>Originator:     David J. Weller-Fahy
>Release:        pkgsrc current as of 2019-09-28
>Organization:
N/A
>Environment:
Linux pooh 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>Description:
slugify 3.0.3 requires exactly text-unidecode 1.2 in the python package, but the pkgsrc Makefile specifies >= 1.2. When text-unidecode was updated to 1.3, slugify still installed but fails to run. Updating to 3.0.4 fixes the problem, as 3.0.4 updates the dependency in the python package.
>How-To-Repeat:
Run slugify 3.0.3 binary with py-text-unidecode 1.2 installed (current pkgsrc tree state).
>Fix:
Patch below updates the Makefile to pull version 3.0.4 and sets the dependency to py-text-unidecode 1.3 instead of >=1.2.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-python-slugify/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    28 Aug 2019 07:57:30 -0000      1.7
+++ Makefile    28 Sep 2019 18:32:53 -0000
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.7 2019/08/28 07:57:30 adam Exp $

-DISTNAME=      python-slugify-3.0.3
+DISTNAME=      python-slugify-3.0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   3
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-slugify/}

@@ -11,7 +10,7 @@ HOMEPAGE=     https://github.com/un33k/pytho
 COMMENT=       Slugify (non-ASCII to ASCII) application that handles Unicode
 LICENSE=       mit

-DEPENDS+=      ${PYPKGPREFIX}-text-unidecode>=1.2:../../textproc/py-text-unidecode
+DEPENDS+=      ${PYPKGPREFIX}-text-unidecode-1.3:../../textproc/py-text-unidecode

 USE_LANGUAGES= # none

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-python-slugify/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    13 Aug 2019 18:54:59 -0000      1.3
+++ distinfo    28 Sep 2019 18:32:53 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.3 2019/08/13 18:54:59 gdt Exp $

-SHA1 (python-slugify-3.0.3.tar.gz) = 2ef8c7d58cad50a74e4e62a5c7977aba598eeb0c
-RMD160 (python-slugify-3.0.3.tar.gz) = 9680a2f487b327461188d5c1c9a77398afbc71bd
-SHA512 (python-slugify-3.0.3.tar.gz) = 65e2373c33b6b23b25d4d3b66cae3c68e9cc133dd6e26155151647bc2e1df5bbba7dfb187eafe5fa9ffb488b2b6f3415e7a5f95d2460dc3f551383d509d740fb
-Size (python-slugify-3.0.3.tar.gz) = 8126 bytes
+SHA1 (python-slugify-3.0.4.tar.gz) = d288a55c95682440d7f51f47e7e7a165b035d626
+RMD160 (python-slugify-3.0.4.tar.gz) = 8579f4f648f1326f36fac9e890233058cad77040
+SHA512 (python-slugify-3.0.4.tar.gz) = 59cadfe24a9794577c4c9b7fd30ab56e129af47a8b56867bfea5c9b186f368eb3bd0b47b941c61f403af5e274654c8ee3722916b71ba5d34ed30e203ad335d12
+Size (python-slugify-3.0.4.tar.gz) = 8110 bytes

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 30 Sep 2019 11:08:01 +0000
State-Changed-Why:
Committed, thanks, without the hardcoding of py-text-unidecode to 1.3
1) PKGREVISION updates will break it
2) version updates will break it, and we don't know
   yet if it might work with 1.4 or 2.0 or not.
Thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54583 CVS commit: pkgsrc/devel/py-python-slugify
Date: Mon, 30 Sep 2019 11:06:55 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Mon Sep 30 11:06:55 UTC 2019

 Modified Files:
 	pkgsrc/devel/py-python-slugify: Makefile distinfo

 Log Message:
 py-python-slugify: update to 3.0.4.

 To fix build/run with py-text-unidecode 1.3 (see PR 54583).

 ## 3.0.4
   - Now supporting text-unidecode>=1.3
   - Now supporting Unidecode>=1.1.1


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-python-slugify/Makefile
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-python-slugify/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.