[Bug 255656] net/py-pysocks: Does not build due to patch to setup.py

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 6 12:43:24 UTC 2021


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

            Bug ID: 255656
           Summary: net/py-pysocks: Does not build due to patch to
                    setup.py
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: vendion at gmail.com
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

Currently I'm not able to build net/py-pysocks on 11.4-RELEASE, 12.2-RELEASE,
13.0-RELEASE on amd64 due to the patch supplied by the port being rejected:

poudriere testport output:

> =======================<phase: extract        >============================
> ===>  License BSD3CLAUSE accepted by the user
> ===>   py37-pysocks-1.7.1 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by py37-pysocks-1.7.1 for building
> ===>  Extracting for py37-pysocks-1.7.1
> => SHA256 Checksum OK for PySocks-1.7.1.tar.gz.
> ===========================================================================
> =======================<phase: patch-depends  >============================
> ===========================================================================
> =======================<phase: patch          >============================
> ===>  Patching for py37-pysocks-1.7.1
> ===>  Applying FreeBSD patches for py37-pysocks-1.7.1 from /usr/ports/net/py-pysocks/files
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to setup.py.rej
> ===>  FAILED Applying FreeBSD patch-setup.py
> ===> Cleanly applied FreeBSD patch(es)  patch-setup.py
> ===> FAILED to apply cleanly FreeBSD patch(es)  patch-setup.py
> *** Error code 1

setup.py.rej contents:

> @@ -32,12 +32,12 @@
>      py_modules=["socks", "sockshandler"],
>      install_requires=requirements,
>      python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
> -    classifiers=(
> +    classifiers=[
>          "Programming Language :: Python :: 2",
>          "Programming Language :: Python :: 2.7",
>          "Programming Language :: Python :: 3",
>          "Programming Language :: Python :: 3.4",
>          "Programming Language :: Python :: 3.5",
>          "Programming Language :: Python :: 3.6",
> -    ),
> +    ],
>  )

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


More information about the freebsd-ports-bugs mailing list