Home
last modified time | relevance | path

Searched +full:python +full:- +full:cffi (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/openzfs/config/
H A Dalways-pyzfs.m42 dnl # ZFS_AC_PYTHON_MODULE(module_name, [action-if-true], [action-if-false])
4 dnl # Checks for Python module. Freely inspired by AX_PYTHON_MODULE
5 dnl # https://www.gnu.org/software/autoconf-archive/ax_python_module.html
9 PYTHON_NAME=${PYTHON##*/}
11 AS_IF([$PYTHON -c "import $1" 2>/dev/null], [
21 dnl # Determines if pyzfs can be built, requires Python 3.
[all...]
/freebsd/sys/contrib/openzfs/contrib/pyzfs/
H A Dsetup.py.in8 # http://www.apache.org/licenses/LICENSE-2.0
30 "Development Status :: 4 - Beta",
33 "Programming Language :: Python :: 3",
34 "Programming Language :: Python :: 3.6",
35 "Programming Language :: Python :: 3.7",
36 "Programming Language :: Python :: 3.8",
37 "Programming Language :: Python :: 3.9",
38 "Programming Language :: Python :: 3.10",
52 "cffi",
55 "cffi",
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzfs-tests.yml1 name: zfs-tests-sanity
9 runs-on: ubuntu-latest
11 - uses: actions/checkout@v2
14 - name: Install dependencies
16 sudo apt-get update
17 sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \
20 nfs-kernel-server samba rng-tools xz-utils \
21 zlib1g-dev uuid-dev libblkid-dev libselinux-dev \
22 xfslibs-dev libattr1-dev libacl1-dev libudev-dev libdevmapper-dev \
23 libssl-dev libffi-dev libaio-dev libelf-dev libmount-dev \
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-3-deps-vm.sh9 set -eu
12 echo "##[group]Running pacman -Syu"
14 sudo pacman -Syu --noconfirm
18 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \
19 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \
20 parted pax perf python-packaging python-setuptools qemu-guest-agent ksh \
21 samba sysstat rng-tools rsync wget xxhash
28 echo "##[group]Running apt-get update+upgrade"
29 sudo apt-get update -y
30 sudo apt-get upgrade -y
[all …]
/freebsd/sys/contrib/openzfs/rpm/generic/
H A Dzfs.spec.in27 %global _bashcompletiondir /usr/share/bash-completion
49 %global _presetdir %{_prefix}/lib/systemd/system-preset
53 %global _modulesloaddir %{_prefix}/lib/modules-load.d
57 %global _systemdgeneratordir %{_prefix}/lib/systemd/system-generators
90 … %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib(…
100 Source0: %{name}-%{version}.tar.gz
101 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
102 Requires: libzpool6%{?_isa} = %{version}-%{release}
103 Requires: libnvpair3%{?_isa} = %{version}-%{release}
104 Requires: libuutil3%{?_isa} = %{version}-%{release}
[all …]
/freebsd/sys/contrib/openzfs/rpm/redhat/
H A Dzfs.spec.in27 %global _bashcompletiondir /usr/share/bash-completion
49 %global _presetdir %{_prefix}/lib/systemd/system-preset
53 %global _modulesloaddir %{_prefix}/lib/modules-load.d
57 %global _systemdgeneratordir %{_prefix}/lib/systemd/system-generators
90 %define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
100 Source0: %{name}-%{version}.tar.gz
101 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-roo
[all...]
/freebsd/sys/contrib/openzfs/
H A D.cirrus.yml8 image_family: freebsd-13-5
10 image_family: freebsd-14-2
12 image_family: freebsd-15-0-snap
14- pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py311-packaging py311-cffi
16 - env MAKE=gmake ./autogen.sh
17 - env MAKE=gmake ./configure --with-config="user" --with-python=3.11
19 - gmake -j `sysctl -n kern.smp.cpus`
21 - gmake install
/freebsd/sys/contrib/openzfs/contrib/debian/
H A Dcontrol1 Source: openzfs-linux
4 Maintainer: ZFS on Linux specific mailing list <zfs-discuss@list.zfsonlinux.org>
5 Build-Depends: debhelper-compat (= 12),
6 dh-python,
7 dh-sequence-dkms | dkms (>> 2.1.1.2-5),
8 libaio-dev,
9 libblkid-dev,
10 libcurl4-openssl-dev,
11 libelf-dev,
12 libpam0g-dev,
[all …]
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_nvlist.py1 # SPDX-License-Identifier: Apache-2.0
9 # http://www.apache.org/licenses/LICENSE-2.0
20 a dictionary on the Python side and an nvlist_t on the C side
29 Upon exit from a with-block the dictionary is populated based on the nvlist_t.
36 - keys are always byte strings
37 - a value can be None in which case it represents boolean truth by its mere
39 - a value can be a bool
40 - a value can be a byte string
41 - a value can be an integer
42 - a value can be a CFFI CData object representing one of the following C types:
[all …]
H A D_libzfs_core.py1 # SPDX-License-Identifier: Apache-2.0
9 # http://www.apache.org/licenses/LICENSE-2.0
19 Python wrappers for libzfs_core interfaces.
21 As a rule, there is a Python function for each C function.
22 The signatures of the Python functions generally follow those of the
23 functions, but the argument types are natural to Python.
72 Python function that follows the typical convention.
98 :param props: a `dict` of ZFS dataset property name-value pairs
137 :param props: a `dict` of ZFS dataset property name-value pairs
221 :param props: a `dict` of ZFS dataset property name-value pairs
[all …]