hebrew/py-pyluach: Remove port

Designed for specific locales, not aligned with broad server application needs
This commit is contained in:
2025-03-31 11:17:46 +02:00
parent faeb965f37
commit 024ec39e7d
9 changed files with 2 additions and 74 deletions
+1
View File
@@ -864,6 +864,7 @@ hebrew/elmar-fonts
hebrew/hspell
hebrew/hunspell
hebrew/libreoffice
hebrew/py-pyluach
hungarian/aspell
hungarian/hunspell
hungarian/hyphen
-1
View File
@@ -19,7 +19,6 @@ SUBDIR += filesystems
SUBDIR += ftp
SUBDIR += games
SUBDIR += graphics
SUBDIR += hebrew
SUBDIR += irc
SUBDIR += japanese
SUBDIR += java
+1 -1
View File
@@ -2562,7 +2562,7 @@ VALID_CATEGORIES+= accessibility afterstep archivers astro audio \
editors education elisp emulators enlightenment \
filesystems finance ftp \
games geography gnome gnustep graphics \
hamradio haskell hebrew irc japanese java \
hamradio haskell irc japanese java \
kde ${_KDE_CATEGORIES_SUPPORTED} kld \
lang linux lisp \
mail mate math mbone misc multimedia \
-5
View File
@@ -1,5 +0,0 @@
COMMENT = Hebrew support
SUBDIR += py-pyluach
.include <bsd.port.subdir.mk>
-2
View File
@@ -1,2 +0,0 @@
PKGNAMEPREFIX?= iw-
-34
View File
@@ -1,34 +0,0 @@
PORTNAME= pyluach
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= hebrew python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python package for manipulating Hebrew dates
WWW= https://github.com/simlist/pyluach
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= simlist
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-test:
@${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/test.py
.include <bsd.port.mk>
-3
View File
@@ -1,3 +0,0 @@
TIMESTAMP = 1677739691
SHA256 (simlist-pyluach-v2.2.0_GH0.tar.gz) = 0fecc6311237b9decf22f7adf6f0dd002347e3fa1f10e6061ffa22d521386e3f
SIZE (simlist-pyluach-v2.2.0_GH0.tar.gz) = 35564
-16
View File
@@ -1,16 +0,0 @@
from pyluach import dates, hebrewcal, parshios
today = dates.HebrewDate.today()
lastweek_gregorian = (today - 7).to_greg()
print(f"lastweek_gregorian<today: ={lastweek_gregorian < today}")
print(f"today-lastweek_gregorian={today - lastweek_gregorian}")
greg = dates.GregorianDate(1986, 3, 21)
heb = dates.HebrewDate(5746, 13, 10)
print(f"greg==heb: {greg == heb}")
purim = dates.HebrewDate(5781, 12, 14)
print(f"purim.hebrew_day()={purim.hebrew_day()}")
print(f"purim.hebrew_date_string()={purim.hebrew_date_string()}")
print(f"purim.hebrew_date_string(True)={purim.hebrew_date_string(True)}")
rosh_hashana = dates.HebrewDate(5782, 7, 1)
print(f"rosh_hashana.holiday={rosh_hashana.holiday()}")
print(f"rosh_hashana.holiday={rosh_hashana.holiday(hebrew=True)}")
-12
View File
@@ -1,12 +0,0 @@
Pyluach is a Python package for manipulating Hebrew (Jewish) calendar dates and
Hebrew-Gregorian conversions.
Features:
* Conversion between Hebrew and Gregorian dates
* Finding the difference between two dates
* Finding a date at a given duration from the given date
* Rich comparisons between dates
* Finding the weekday of a given date
* Finding the weekly Parsha reading of a given date
* Getting the holiday occuring on a given date
* Generating html and text Hebrew calendars