Port details |
- py-pendulum Python package to ease datetimes manipulation
- 3.0.0_1 devel
=3 3.0.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2018-11-01 12:31:44
- Last Update: 2025-04-08 08:41:13
- Commit Hash: 2a5976a
- People watching this port, also watch:: nagios-check_hdd_health, nuitka-py311, monit, py311-beautifulsoup, openmdns
- Also Listed In: python
- License: MIT
- WWW:
- https://pendulum.eustace.io/
- https://pendulum.eustace.io/docs/
- https://github.com/python-pendulum/pendulum
- Description:
- Native datetime instances are enough for basic cases but when you face more
complex use-cases they often show limitations and are not so intuitive to work
with. Pendulum provides a cleaner and more easy to use API while still relying
on the standard library. So it's still datetime but better.
Unlike other datetime libraries for Python, Pendulum is a drop-in replacement
for the standard datetime class (it inherits from it), so, basically, you can
replace all your datetime instances by DateTime instances in your code
(exceptions exist for libraries that check the type of the objects by using the
type function like sqlite3 or PyMySQL for instance).
It also removes the notion of naive datetimes: each Pendulum instance is
timezone-aware and by default in UTC for ease of use.
Pendulum also improves the standard timedelta class by providing more intuitive
methods and properties.
  ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pendulum>0:devel/py-pendulum@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pendulum/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pendulum
- pkg install py311-pendulum
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pendulum listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pendulum
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1742405456
SHA256 (pendulum-3.0.0.tar.gz) = 5d034998dea404ec31fae27af6b22cff1708f830a1ed7353be4d1019bb9f584e
SIZE (pendulum-3.0.0.tar.gz) = 84524
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-maturin>=1.0<2.0 : devel/py-maturin@py311
- rust>=1.86.0 : lang/rust
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-python-dateutil>=2.6 : devel/py-python-dateutil@py311
- py311-time-machine>=2.6.0 : devel/py-time-machine@py311
- py311-tzdata>=2020.1 : devel/py-tzdata@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-pydantic-extra-types
Configuration Options:
- No options to configure
- Options name:
- devel_py-pendulum
- USES:
- cargo python:3.9+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.0.0_1 08 Apr 2025 08:41:13
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.86.0
PR: 285840 |
3.0.0 19 Mar 2025 18:15:53
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pendulum: Update to 3.0.0
- Update WWW
- Update version requirement of RUN_DEPENDS
- Convert to USE_PYTHON=pep517
- Remove PORTSCOUT
- Update pkg-descr
- Take maintainership
Changes: https://github.com/python-pendulum/pendulum/releases
https://pendulum.eustace.io/history/ |
2.1.1_3 19 Mar 2025 13:10:18
    |
Renato Botelho (garga)  |
devel/py-pendulum: Drop maintainership |
2.1.1_3 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
2.1.1_2 13 Apr 2024 14:47:51
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION of dependent ports for dependency change
- While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of
PKGNAMEPREFIX for *_DEPENDS |
2.1.1_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
2.1.1_1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.1.1_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.1.1_1 24 Aug 2022 12:25:00
    |
Renato Botelho (garga)  |
devel/py-pendulum: Skip 2.1.2 version
Set portscout to skip version 2.1.2 since this version has no functional
changes.
Sponsored by: Rubicon Communications, LLC ("Netgate") |
2.1.1_1 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.1.1_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.1.1_1 12 Feb 2021 18:00:16
  |
amdmi3  |
- Add missing runtime dependency on pytzdata
PR: 252915
Submitted by: vvelox@vvelox.net
Approved by: maintainer timeout (garga, 2 weeks) |
2.1.1 24 Dec 2020 13:46:02
  |
kai  |
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme. This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".
The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.
Remedy the issue by adding wildcards to these paths. This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.
[1] https://bugs.python.org/issue42604
PR: 252057
Reported by: John Kennedy
Reviewed by: fluffy, koobs
Approved by: koobs (python) |
2.1.1 14 Jul 2020 12:20:52
  |
garga  |
devel/py-pendulum: Update to 2.1.1 |
2.1.0 14 Apr 2020 12:42:35
  |
garga  |
devel/py-pendulum: Update to 2.1.0 |
2.0.5 24 Jul 2019 14:17:10
  |
garga  |
devel/py-pendulum: Update to 2.0.5 |
2.0.4_1 13 Nov 2018 10:25:32
  |
garga  |
devel/py-pendulum: Add missing dependencies |
2.0.4 01 Nov 2018 12:31:36
  |
garga  |
New port: devel/py-pendulum: Python package to ease datetimes manipulation |