[Python-announce] ANN: unicode 2.9

2022-06-03 Thread garabik-news-2005-05

unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.

It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.

˙pɹɐpuɐʇs əpoɔı̣uՈ əɥʇ ɟo əsn pəɔuɐʌpɐ
puɐ səldı̣ɔuı̣ɹd əɥʇ ɓuı̣ʇɐɹʇsuoɯəp looʇ ɔı̣ʇɔɐpı̣p ʇuəlləɔxə uɐ sı̣ ʇI
˙sʇuı̣odəpoɔ ʇuəɹəɟɟı̣p ʎləʇəldɯoɔ ɓuı̣sn əlı̣ɥʍ 'sɥdʎlɓ ɟo ɯɐəɹʇs ɹɐlı̣ɯı̣s
ʎllɐnsı̣ʌ  oʇuı̣ ʇxəʇ əɥʇ ʇɹəʌuoɔ oʇ pɹɐpuɐʇs əpoɔı̣uՈ əɥʇ ɟo ɹəʍod llnɟ
əɥʇ sʇı̣oldxə ʇɐɥʇ 'ʎʇı̣lı̣ʇn ,əpoɔɐɹɐd, oslɐ suı̣ɐʇuoɔ əɓɐʞɔɐd əɥ⊥

Changes since previous versions:
 * better handling of changes in data files

URL: http://kassiopeia.juls.savba.sk/~garabik/software/unicode.html

License: GPL v3

Installation: pip install unicode

-- 
 ---
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__garabik @ kassiopeia.juls.savba.sk |
 ---
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Question about building Python-3.9.12 on OpenBSD 7.1

2022-06-03 Thread Tim Brazil

Thanks for the response HTH. Your comment led me to think
that perhaps a "ports" dependency failed to be generated correctly.
They are patched on the fly.

I went back to "scratch" on fresh installation with a clean Python build.
This time it worked correctly. Go figure... thx! - Tim

Dan Stromberg wrote:


It's been my understanding that there is a fundamental difference 
between the *BSD's and the Linuxes.


The *BSD's have their ports system, that collects deltas against 
third-party packages to build them on a *BSD.  These deltas become 
part of the ports system.


The Linuxes port an application, and contribute the deltas to the 
package's upstream maintainer.


For this reason, I suspect you may do well to contact the person in 
charge of the port of CPython to OpenBSD.


HTH


On Thu, Jun 2, 2022 at 5:46 PM Tim Brazil > wrote:


Hello

I hope I am not breaking protocol sending this message to the list.
This is my first posting to python-list.

I am trying to build Python-3.9.12 from the ports distribution on
on a new OpenBSD 7.1 installation.
It is failing with the following error.

Traceback (most recent call last):
   File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/./setup.py", line
2509, in 
 class PyBuildInstallLib(install_lib):
   File "/usr/obj/ports/Python-3.9.12/Python-3.9.12/./setup.py", line
2516, in PyBuildInstallLib
 shlib_suffix = sysconfig.get_config_var("SHLIB_SUFFIX")
   File
"/usr/obj/ports/Python-3.9.12/Python-3.9.12/Lib/sysconfig.py",
line 616, in get_config_var
 return get_config_vars().get(name)
   File
"/usr/obj/ports/Python-3.9.12/Python-3.9.12/Lib/sysconfig.py",
line 565, in get_config_vars
 _init_posix(_CONFIG_VARS)
   File
"/usr/obj/ports/Python-3.9.12/Python-3.9.12/Lib/sysconfig.py",
line 430, in _init_posix
 _temp = __import__(name, globals(), locals(),
['build_time_vars'], 0)
ModuleNotFoundError: No module named
'_sysconfigdata__openbsd7_amd64-unknown-openbsd7'
*** Error 1 in /usr/obj/ports/Python-3.9.12/Python-3.9.12
(Makefile:649
'sharedmods': @case "`echo X $MAKEFLAGS | sed 's/^X //;s/ --
.*//'`"...)

In researching this on the internet I discovered a similar
reporting on
FreeBSD that seems to relate to regex and MULTIARZCH in the FreeBSD
Makefile but it doesn't seem to apply to the port of my
Makefile/environment.

This is the report I am referring to:

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

My exact problem is...

I do not have z _sysconfigdata__openbsd7_amd64-unknown-openbsd7 module
but I do have a
_sysconfigdata__openbsd7_amd64-unknown-openbsd7.1.py
 module
under:


./build/lib.openbsd-7.1-amd64-3.9/_sysconfigdata__openbsd7_amd64-unknown-openbsd7.1.py


I suspect somewhere, it's not picking up the full 7.1 version string.
I am having a problem figuring it out. I kindly ask if you have any
pointers on fixing
it. Should I log a bug or is it a OpenBSD package thing?

Thanks in Advance
Tim
-- 
https://mail.python.org/mailman/listinfo/python-list




--
https://mail.python.org/mailman/listinfo/python-list