File: simple

package info (click to toggle)
python-pyxattr 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 256 kB
  • sloc: ansic: 994; python: 449; makefile: 84; sh: 22
file content (12 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# switch directory into temp dir to ensure we don't try to use the
# 'xattr.so' from the source package (if autopkgtest has built the
# package):
cd "$ADTTMP/"

# and now simply import the modules:
python2 -c 'import xattr; print xattr; print xattr.__version__'
python2-dbg -c 'import xattr; print xattr; print xattr.__version__'
python3 -c 'import xattr; print(xattr); print(xattr.__version__)'
python3-dbg -c 'import xattr; print(xattr); print(xattr.__version__)'