Bug 267676 - devel/py-fastbencode: Update to 0.2
Summary: devel/py-fastbencode: Update to 0.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-11-09 23:29 UTC by fullermd
Modified: 2023-04-20 13:40 UTC (History)
2 users (show)

See Also:
fuz: merge-quarterly+


Attachments
Update (889 bytes, patch)
2022-11-09 23:29 UTC, fullermd
fullermd: maintainer-approval+
Details | Diff
Update to 0.2 (883 bytes, patch)
2023-03-08 00:38 UTC, fullermd
no flags Details | Diff
Update to 0.2 (1.11 KB, patch)
2023-04-18 23:55 UTC, fullermd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fullermd 2022-11-09 23:29:56 UTC
Created attachment 237982 [details]
Update

New upstream release
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-11-09 23:43:13 UTC
^Triage: 

- If there is a changelog or release notes URL available for this version, please add it to the URL field

- maintainer-feedback flag (+) not required unless requested (?) first.

- Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval

  Attachment -> Details -> maintainer-approval [+]

- Please confirm this change passes QA (portlint, poudriere at least). For details and instructions, see:

  https://docs.freebsd.org/en/books/porters-handbook/#testing
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-02-15 13:16:34 UTC
Greetings,

Please add a link to the changelog and indicate whether the patch passed a build test so I can commit it.  If there is no changelog, please summarise the changes so I can add them to the commit message.
Comment 3 fullermd 2023-03-08 00:38:37 UTC
Created attachment 240657 [details]
Update to 0.2
Comment 4 fullermd 2023-03-08 00:44:16 UTC
(In reply to Robert Clausecker from comment #2)

Upstream doesn't have an obvious changelog; a quick look over the commit history mostly shows janitorial stuff.

I've been running the 0.1 since Nov and the 0.2 today without obvious problems, so I hope it built OK   :)
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2023-04-18 20:21:22 UTC
Build fails (on amd64 FreeBSD 13 and others):

=======================<phase: configure      >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===>   py39-fastbencode-0.2 depends on package: py39-setuptools>=63.1.0 - found
===>   py39-fastbencode-0.2 depends on file: /usr/local/bin/python3.9 - found
===>   py39-fastbencode-0.2 depends on file: /usr/local/bin/ccache - found
===>  Configuring for py39-fastbencode-0.2
/usr/local/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/usr/local/bin/python3.9: No module named pip
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpl7r1pqna', '--quiet', 'cython>=0.29']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 82, in <module>
    setup(ext_modules=ext_modules, cmdclass={'build_ext': build_ext})
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 86, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 789, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1075, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1087, in obtain
    return installer(requirement)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/local/lib/python3.9/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/local/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpl7r1pqna', '--quiet', 'cython>=0.29']' returned non-zero exit status 1.

The python package 'Cython' is not available. If the .c files are available,
they will be built, but modifying the .pyx files will not rebuild them.

*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-fastbencode


Please check and resubmit.
Comment 6 fullermd 2023-04-18 23:54:16 UTC
(In reply to Robert Clausecker from comment #5)
Hm.  Sorry, I thought I'd checked that it didn't need that...   I'll put up a version that pulls it in.
Comment 7 fullermd 2023-04-18 23:55:10 UTC
Created attachment 241572 [details]
Update to 0.2

Pull in cython, looks like they're not shipping the .c's...
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2023-04-19 00:04:26 UTC
Will commit with my next batch.  As I have just committed my last batch, this may take a bit longer than usual.

Will change PORTVERSION to DISTVERSION on commit as per policy.
Comment 9 commit-hook freebsd_committer freebsd_triage 2023-04-20 13:36:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d762e3c8faff9952d29fe78dfd1b6aaae140dc64

commit d762e3c8faff9952d29fe78dfd1b6aaae140dc64
Author:     fullermd <fullermd@over-yonder.net>
AuthorDate: 2023-04-19 00:02:24 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-20 11:49:22 +0000

    devel/py-fastbencode: update to 0.2

    Mostly janitorial changes.

    PR:             267676
    MFH:            2023Q2

 devel/py-fastbencode/Makefile | 4 ++--
 devel/py-fastbencode/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2023-04-20 13:37:27 UTC
A commit in branch 2023Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ee7918215f97225aa0d11d6d876c991ef9788607

commit ee7918215f97225aa0d11d6d876c991ef9788607
Author:     fullermd <fullermd@over-yonder.net>
AuthorDate: 2023-04-19 00:02:24 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-20 13:36:52 +0000

    devel/py-fastbencode: update to 0.2

    Mostly janitorial changes.

    PR:             267676
    MFH:            2023Q2
    (cherry picked from commit d762e3c8faff9952d29fe78dfd1b6aaae140dc64)

 devel/py-fastbencode/Makefile | 4 ++--
 devel/py-fastbencode/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 11 Robert Clausecker freebsd_committer freebsd_triage 2023-04-20 13:40:22 UTC
Thank you for your contribution.