Commit Graph

22 Commits

Author SHA1 Message Date
wangmy
db5534e531 python3-pyparted: upgrade 3.11.7 -> 3.12.0
setuptools.patch removed since it's included in 3.12.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-04-06 14:55:16 -04:00
Khem Raj
ee0f7dc9b7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Ross Burton
4de2215997 python3-pyparted: port to setuptools
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Khem Raj
b243b1f84f python3-pyparted: Inherit pkgconfig
Fixes
FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-09-24 08:11:53 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Leon Anavi
dd349aa2ce python3-pyparted: Upgrade 3.11.6 -> 3.11.7
Upgrade to release 3.11.7:

- Set PY_SSIZE_T_CLEAN for the build
- add nvme support
- Update RELEASE file to make last step be "make pypi"

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-28 10:22:05 -07:00
Leon Anavi
2da77b348e python3-pyparted: Upgrade 3.11.3 -> 3.11.6
Inherit pypi. Upgrade to release 3.11.6:

- Use preprocessor for the _ped module and what constants to
  include
- Reduce libparted requirement to 3.2
- Update the pypi target in the Makefile
- Reduce minimum Python required to 3.5

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 07:50:18 -07:00
Leon Anavi
588d32cae4 python3-pyparted: Consolidate in a single file
Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 07:50:03 -07:00
Andrey Zhizhikin
05d0c5eee3 meta-python: remove python2 recipes from layer
Remove recipes which require python2 from the layer. Those recipes are
moved to meta-python2 and are not required here any longer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Zang Ruochen
2506374cf3 python-pyparted: upgrade 3.11.2 -> 3.11.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:21:15 -08:00
Hongxu Jia
f818d3b9fc python-pyparted/python3-pyparted: 3.11.1 -> 3.11.2
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Hongxu Jia
233a17e09f python-pyparted/python3-pyparted: drop incorrect and redundant PV
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Derek Straka
df997e0747 Remove deprecated python3-subprocess from the RDEPENDS
The python3-subprocess package was merged into core as part of the
json manifest migration

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-26 17:28:12 -08:00
André Draszik
e0a6fe03fc python-pyparted: use beginline= in LIC_FILES_CHKSUM
'startline' is not a recognised keyword, it's beginline.

python-pyparted: The new md5 checksum is 9e53304db812b80d0939e11bb69dcab2
python-pyparted: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvv beginline=10 vvvvvvvvvvvvvvvvvvvvvvvvvvvv
 * This copyrighted material is made available to anyone wishing to use,
 * modify, copy, or redistribute it subject to the terms and conditions of
 * the GNU General Public License v.2, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY expressed or implied, including the implied warranties of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 * Public License for more details.  You should have received a copy of the
 * GNU General Public License along with this program; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA.  Any Red Hat trademarks that are incorporated in the
 * source code or documentation are not subject to the GNU General Public
 * License and may only be used or replicated with the express permission of
 * Red Hat, Inc.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ endline=22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-22 19:38:38 -08:00
Derek Straka
681bce86e5 python-parted: update to version 3.11.1
Update github hash for the release
Add correct RDEPENDS for the minimal python installs
Remove a patch no longer required

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:18 -08:00
Derek Straka
05c4c9837a python-pyparted: remove unneeded DEPENDS on python{3}-re
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-30 09:13:32 -08:00
Hongxu Jia
abc5a71c4d python3-pyparted: add a python3 recipe
- Split to a common python-pyparted.inc for python2 and python3

- Tweak 0001-fix-version-float-check.patch for python3 to fix
  do_compile errror
----
| ERROR: python3 setup.py build_ext execution failed.
| Traceback (most recent call last):
|   File "setup.py", line 62, in <module>
|     check_mod_version('libparted', need_libparted_version)
|   File "setup.py", line 55, in check_mod_version
|     match = re.search('([0-9]+\.[0-9]+)', modversion)
|   File "work/core2-64-wrs-linux/python3-pyparted/3.10.7+gitAU
TOINC+69c4a478e4-r0/recipe-sysroot-native/usr/lib/python3.5/re.py",
line 173, in search
|     return _compile(pattern, flags).search(string)
| TypeError: cannot use a string pattern on a bytes-like object
----

The reason is the return of subprocess.check_output is byte in python3,
but string in python2

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-05 11:01:47 +02:00
Ming Liu
ebd31fd8d5 meta: do not prepend/append to BBCLASSEXTEND
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Derek Straka
85c72f42f4 python-parted: update to version 3.10.7
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:36 +02:00
Tim Orling
104f6413d2 python-pyparted: update to 3.10.5
* add patch to fix float cast error when version is x.y.z form
* add minimal parted version (>= 2.3) to RDEPENDS

NOTE:
  If your tree defaults to an earlier parted version (e.g. 1.8.6),
  you will need to add PREFERRED_VERSION_parted = "3.%" to local.conf
  or you will see a do_compile error (complaining about required
  libparted version).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-08 16:18:34 +02:00
Tim Orling
40ecf311fe python-pyparted: fix rdeps for native
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-27 12:49:19 +02:00
Sujith H
faf83c51dd python-pyparted: Add recipe
This recipe will provide a set of Python modules that
provide Python programmers an interface to libparted,
the GNU parted library for disk partitioning and filesystem
manipulation.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:20:54 +02:00