Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] Upgrade to 3.9.7 #390

Merged
merged 1 commit into from
Sep 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 15 additions & 20 deletions packages/python/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,51 +1,46 @@
2021-04-08 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.9.7-1 (2021-09-21)

Upgrade to 3.9.7
Fix conflicting file between main package and dev package

3.9.2-3 (2021-04-08)

* 3.9.2-3 :
Use openssl instead of libressl
Remove from any groups for now
Set prefix to /usr

2021-02-27 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.9.2-2 (2021-02-27)

* 3.9.2-2 :
Build with libffi 3.3

2021-02-20 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.9.2-1 (2021-02-20)

* 3.9.2-1 :
Upgrade to 3.9.2

2019-04-10 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.7.3-1 (2019-04-10)

* 3.7.3-1 :
Upgrade to 3.7.3

2018-11-24 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.7.1-1 (2018-11-24)

* 3.7.1-1 :
Upgrade to 3.7.1

2017-04-17 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.6.1-1 (2017-04-17)

* 3.6.1-1 :
Upgrade to 3.6.1

2017-01-13 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.5.2-2 (2017-01-13)

* 3.5.2-2 :
Update description and build against libsqlite, liblzma

2016-10-24 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
3.5.2-1 (2016-10-24)

* 3.5.2-1 :
Upgrade to 3.5.2

2015-08-11 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
2.7.10-1 (2015-08-11)

* 2.7.10-1 :
Upgrade to 2.7.10

2015-04-28 Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
2.7.9-1 (2015-04-28)

* 2.7.9-1 :
Initial version
14 changes: 7 additions & 7 deletions packages/python/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#!/bin/bash
# shellcheck disable=SC2034,SC2154,SC2068
# Maintainer: Jeremy Huntwork <jhuntwork@lightcubesolutions.com>

pkgname=(python python-dev)
_vermajor=3
_verminor=9
pkgver=${_vermajor}.${_verminor}.2
pkgrel=3
pkgver=${_vermajor}.${_verminor}.7
pkgrel=1
pkgdesc='A clear and powerful object-oriented programming language,'
arch=(x86_64)
url='http://www.python.org'
Expand All @@ -30,7 +29,7 @@ source=(
python-fix-ctypes_util.patch
)
sha256sums=(
3c2034c54f811448f516668dce09d24008a0716c3a794dd8639b5388cbde247d
f8145616e68c00041d1a6399b76387390388f8359581abc24432bb969b5e3c57
db33506472cb9819acf03e8206323ed0aea3cb0ed537b047976dc613e9a34e4e
)

Expand All @@ -54,7 +53,6 @@ check() {
package_python() {
depends=(
"ld-musl-$(arch).so.1"
libc.so
libcrypto.so.1.1
libffi.so.7
libreadline.so.8
Expand All @@ -73,21 +71,23 @@ package_python() {
cd_unpacked_src
make DESTDIR="${pkgdirbase}/dest" install
cd "${pkgdirbase}/dest" || return 1
rm -rf "usr/lib/${_vermajor}.${_verminor}/site-packages"
ln -s "python${_vermajor}.${_verminor}" usr/bin/python
ln -s "pip${_vermajor}" usr/bin/pip
find . -name "*.pyc" -delete -o -name "*.pyo" -delete
find . -name 'test' -type d -exec rm -rf '{}' + || true
package_defined_files
rm "${pkgdirbase}/dest/usr/include/python${_vermajor}.${_verminor}/pyconfig.h"
}

package_python-dev() {
depends=(
"python=${pkgver}"
)
pkgfiles=(
"usr/bin/py*-config"
usr/bin/py*-config
usr/include
"usr/lib/libpython*.a"
usr/lib/libpython*.a
usr/lib/pkgconfig
)
std_split_package
Expand Down