[arch-commits] Commit in python-markdown/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Thu Jul 16 05:54:34 UTC 2020


    Date: Thursday, July 16, 2020 @ 05:54:33
  Author: eschwartz
Revision: 664033

remove old hacks that no longer do any modifications

Modified:
  python-markdown/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ------
 1 file changed, 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-16 04:18:03 UTC (rev 664032)
+++ PKGBUILD	2020-07-16 05:54:33 UTC (rev 664033)
@@ -20,12 +20,6 @@
 md5sums=('d84732ecc65b3a1bff693d9d4c24277f')
 
 prepare() {
-  # bug in 2.4, some DOS line endings slipped in
-  find "$_pkgbasename-$pkgver/" -name '*py' -exec sed -i 's|\r||g' {} +
-
-  # ImportError: No module named pkg_resources
-  sed -i 's/^from pkg_resources.*$/import packaging.version/' "$_pkgbasename-$pkgver/markdown/__init__.py"
-
   cp -r $_pkgbasename-$pkgver "$srcdir/python2-markdown"
   cd "$srcdir/python2-markdown"
   find "$srcdir/python2-markdown" -name '*py' -exec sed -i 's|#!/usr/bin/env python$|&2|' {} +


More information about the arch-commits mailing list