[Bug 217264] devel/py-dateutil: dos2unix is incorrectly run on tar.gz file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 21 06:06:20 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217264

            Bug ID: 217264
           Summary: devel/py-dateutil: dos2unix is incorrectly run on
                    tar.gz file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: koobs at FreeBSD.org
          Reporter: gordon at FreeBSD.org
          Assignee: koobs at FreeBSD.org
             Flags: maintainer-feedback?(koobs at FreeBSD.org)

The file installed as dateutil-zoneinfo.tar.gz is corrupted by the dos2unix run
on all of the files in the distribution. Looking at it a bit further, there is
no need to run dos2unix as the only files with CRLF is the NEWS file, a README
and a Windows BAT file (which makes sense to use CRLF).

Proposed diff:

Index: Makefile
===================================================================
--- Makefile    (revision 434502)
+++ Makefile    (working copy)
@@ -3,6 +3,7 @@

 PORTNAME=      dateutil
 PORTVERSION=   2.5.3
+PORTREVISION=  1
 CATEGORIES=    devel python
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

@@ -14,7 +15,7 @@

 RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six

-USES=          python dos2unix
+USES=          python
 USE_GITHUB=    yes
 USE_PYTHON=    autoplist distutils

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list