python3Packages.awesome-slugify: drop (#527630)

This commit is contained in:
Yohann Boniface
2026-06-14 22:50:55 +00:00
committed by GitHub
4 changed files with 1 additions and 58 deletions
@@ -1,43 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
unidecode,
regex,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "awesome-slugify";
version = "1.6.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0wgxrhr8s5vk2xmcz9s1z1aml4ppawmhkbggl9rp94c747xc7pmv";
};
prePatch = ''
substituteInPlace setup.py \
--replace 'Unidecode>=0.04.14,<0.05' 'Unidecode>=0.04.14'
'';
patches = [
./slugify_filename_test.patch # fixes broken test by new unidecode
];
propagatedBuildInputs = [
unidecode
regex
];
nativeCheckInputs = [ unittestCheckHook ];
meta = {
homepage = "https://github.com/dimka665/awesome-slugify";
description = "Python flexible slugify function";
license = lib.licenses.gpl3;
platforms = lib.platforms.all;
maintainers = [ ];
};
}
@@ -1,13 +0,0 @@
diff --git i/slugify/tests.py w/slugify/tests.py
index 4c9fa1c..3e14328 100644
--- i/slugify/tests.py
+++ w/slugify/tests.py
@@ -57,7 +57,7 @@ class PredefinedSlugifyTestCase(unittest.TestCase):
self.assertEqual(slugify_url('The Über article'), 'uber-article')
def test_slugify_filename(self):
- self.assertEqual(slugify_filename(u'Дrаft №2.txt'), u'Draft_2.txt')
+ self.assertEqual(slugify_filename(u'Дrаft №2.txt'), u'Draft_No._2.txt')
class ToLowerTestCase(unittest.TestCase):
+1
View File
@@ -102,6 +102,7 @@ mapAliases {
audio-metadata = throw "'audio-metadata' has been removed as it's unmaintained since 2020"; # Added 2026-03-12
autotrash = throw "'autotrash' has been renamed to/replaced by 'super.pkgs.autotrash'"; # Converted to throw 2025-10-29
av_13 = throw "'av_13' has been renamed to/replaced by 'av'"; # Added 2026-02-01
awesome-slugify = throw "'awesome-slugify' has been removed as it was unmaintained upstream"; # Added 2026-06-14
Babel = throw "'Babel' has been renamed to/replaced by 'babel'"; # Converted to throw 2025-10-29
backports-functools-lru-cache = throw "'backports-functools-lru-cache' has been removed from nixpkgs as it was not longer used in python2"; # Added 2026-01-14
backports_shutil_get_terminal_size = throw "'backports_shutil_get_terminal_size' has been renamed to/replaced by 'backports-shutil-get-terminal-size'"; # Converted to throw 2025-10-29
-2
View File
@@ -1343,8 +1343,6 @@ self: super: with self; {
awacs = callPackage ../development/python-modules/awacs { };
awesome-slugify = callPackage ../development/python-modules/awesome-slugify { };
awesomeversion = callPackage ../development/python-modules/awesomeversion { };
awkward = callPackage ../development/python-modules/awkward { };