Housekeeping

Update profiles/package.mask and remove the following packages:
dev-libs/libmcp23s17
dev-libs/libpifacedigital
dev-python/pifacecommon
dev-python/pifacedigitalio
This commit is contained in:
Nils Freydank 2019-02-11 17:14:49 +01:00
parent a9f3520990
commit 79f186d179
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
17 changed files with 0 additions and 405 deletions

View File

@ -1,20 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST libmcp23s17-0.3.3_p20150727.tar.gz 39997 BLAKE2B f6bf1e99525ecdeb72816f5a8acb3513ee62786387fcf6fdb7cf88392387a761f7f94fce534c6270d6a06962e5cfe4c3b05f11cc9e4f396262b000958a268dfa SHA512 ca49dfb6dddbed684b9990cf5c4abbc3c55aee0cdc24f32bf8249c37537ca97b56d8f7cc84ab71388c450525326dba99b87c393eb35a67b51b439afb0e526d7d
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEuys8HR2OLKbSzUtJHR6eQo71h0YFAlqmzdsACgkQHR6eQo71
h0bT8w/+MRTKsYbv0YbbNxHRfpnMehzPtd3/JoT2z4i2PeMycQq7rSnWQYJ51e63
QTiVjPibuvVcI1dFUunuDOBe6/7JWC2GjWAPWJdyvJjW3nY0ijaANZPUz/zaKWhV
3X22621KkI9bigb6C9+skUZvnD34c83mrf7mMnWsXOjo2QOw+JYAVkzME+o7e2RH
XfStVRm6wLVkD8a99ODbrhUAR+DNkrO20t9TPdpjmoPs3oxtmN6z4oZASRXc/hC0
RLb6QNNp5L6JeYPIVRNalVxWGLfdicw3VvPCTcmH4QKU9CJxzZqIWA8v4EIaHWKU
xn/9diz2pvu5V6T16llBLS1iQxUEJFMJ2mG+y4LKMPgkG7mnfRERSQAM/T1REkzE
yv9fGwrBCJrQbxCjupVElLomxSewiUFO6K1cHuwHaf002aLvFPsJg2wwZ9pjqff1
+6NlD1R3hkx2xvEFs/pRWklFXLW5L7GmFN+8EzYen7PxV3yVAjchl58tiKWZ2GtM
8B8twjnNUFqre+p6Cedq9KNaK7pZweKa5FOaad0XAgdRIxxQ3tOD9C22DOmN0E5j
X4QW/ztJUIZyB0SMRx31I3N1WQ2bc/hoVVcMT2/J/z8ACT8RLkEZB8EnwHg5DSDy
pT4VVEf66kvyM9Z3laCRr5dFNygSZBpPDDxiiC64o2F0r8BDH6w=
=B3ee
-----END PGP SIGNATURE-----

View File

@ -1,39 +0,0 @@
--- a/Makefile 2018-05-01 06:00:00.000000000 +0200
+++ b/Makefile 2018-05-01 06:00:00.000000001 +0200
@@ -1,11 +1,11 @@
PROJECT=mcp23s17
SOURCES=src/mcp23s17.c
-LIBRARY=static
+LIBRARY=shared
INCPATHS=
LIBPATHS=
-LDFLAGS=
-CFLAGS=-c -Wall
-CC=gcc
+LDFLAGS +=
+CFLAGS += -c -Wall
+CC ?= gcc
# ------------ MAGIC BEGINS HERE -------------
@@ -35,16 +35,16 @@
endif
.c.o:
- $(CC) $(INCFLAGS) $(CFLAGS) -fPIC $< -o $@
+ $(CC) $(INCFLAGS) $(CFLAGS) $(LIBFLAGS) -fPIC $< -o $@
distclean: clean
rm -f $(BINARY)
example: example.c
- gcc -o example example.c -Isrc/ -L. -lmcp23s17
+ $(CC) $(CFLAGS) $(LDFLAGS) -o example example.c -Isrc/ -L. -lmcp23s17
interrupt_example: interrupt_example.c
- gcc -o interrupt_example interrupt_example.c -Isrc/ -L. -lmcp23s17
+ $(CC) $(CFLAGS) $(LDFLAGS) -o interrupt_example interrupt_example.c -Isrc/ -L. -lmcp23s17
clean:
rm -f $(OBJECTS)

View File

@ -1,41 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit toolchain-funcs
DESCRIPTION="C library for accessing a MCP23S17 port expander"
HOMEPAGE="https://github.com/piface/libmcp23s17/"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/piface/libmcp23s17.git"
else
COMMIT_ID="f65a5e2fb2f705eb0a108e1f888da7dea3638c4b"
SRC_URI="https://github.com/piface/libmcp23s17/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/libmcp23s17-${COMMIT_ID}"
KEYWORDS="~arm"
fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm"
IUSE=""
PATCHES=( "${FILESDIR}"/${PN}-fix-build-system.patch )
DEPEND=""
RDEPEND="${DEPEND}"
src_configure(){
default
tc-export CC
}
src_install(){
dolib ${PN}.so
doheader src/mcp23s17.h
einstalldocs
}

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">piface/libmcp23s17</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,20 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST libpifacedigital-0.3.0.tar.gz 41079 BLAKE2B 1b49a45c0ac9039f99ce5998948d2208aeb7c3541a3cc4c69bcfc9be79c566d9b0802324125612b1ab715ad1e8a6c9b4dbda36e16e472542a4413d7d991b239e SHA512 11dfc16f8335bce7f47eecfd1dbb8b5f35f93acc686dfd146d7894c9e8393bff6447a8a35b35eea584b292ca39e5567a0b5d0def777e9ea98e806ec780342750
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEuys8HR2OLKbSzUtJHR6eQo71h0YFAlqnsxAACgkQHR6eQo71
h0Yq4A//dqj9Ie7QoFN6WKKzb2ZupYutMeSdafxkmsCijnZKAtPdt+f+Ka8hBv4y
oSglKk3mkYmZ0Ju9YJCTLRh2XCY/dzDNltRCsIEfitt/Z13jw5wLTdP+wb00kS1j
0QUbEJXIEYArquE34ICEXi83fDdswWx7wi3UyRjJvibKXsgdYcJOj4m+mSyW4k+0
5kpKyQgNChcNSjNe/rTpWNRaN+JTPHfcvJpHi2sHm1638mcVWjLoxnGO9Cb/qu6m
BFYP5byGuvhov0ZxG9vOnFQHr8OmT8vyIxspCzKk2oTQ5uK0lI/2mZiOGjpuhL3d
y5UjpteuJZdsi9bEL3Mv/sQJ44XHdyky+OtkVqOcbmfw8ychCmNXnzY/rsYg3dAb
i4FrKzkFPei7CJB0ooAGjUaPkxuOcIJNHGokSHjq/Vd/6i2Pnd/yMgaks0kruJ6v
7nNnW3D39Ar8DjzUwz6lLg4cdr2DvX/eAJxZH1yYNtNFJIoWZvBMfG6grnf2H1fH
Bj4Uo3dlvB0Vj7xGom55cavETOBw6DvS1d3nsVOTOKCIwXVeWRJVY+Q6+533yLOU
I2Gtx90uaux8VYpbNUJiECE38fDmO2FM3hMzS/RP/xvXpH0nYEY+lp30yZiRVx0V
wKdEyBzUAIr92VozjypXmapXtHiTuCradXiZEgHLmO+Ohsi5LR8=
=jDHN
-----END PGP SIGNATURE-----

View File

@ -1,36 +0,0 @@
--- a/Makefile 2017-10-31 09:39:12.416812633 +0100
+++ b/Makefile 2017-10-31 09:38:11.357482904 +0100
@@ -1,11 +1,11 @@
PROJECT=pifacedigital
-SOURCES=src/pifacedigital.c
-LIBRARY=static
-INCPATHS=../libmcp23s17/src/
-LIBPATHS=../libmcp23s17/
-LDFLAGS=
-CFLAGS=-c -Wall
-CC=gcc
+SOURCES = src/pifacedigital.c
+LIBRARY = shared
+INCPATHS = /usr/src/
+LIBPATHS = /usr/lib/
+LDFLAGS +=
+CFLAGS += -Wall -lmcp23s17
+CC ?= gcc
# ------------ MAGIC BEGINS HERE -------------
@@ -31,11 +31,11 @@
ifeq "$(LIBRARY)" "static"
ar rcs $(BINARY) $(OBJECTS)
else
- $(CC) $(LIBFLAGS) $(OBJECTS) $(LDFLAGS) -o $@
+ $(CC) $(CFLAGS) $(LIBFLAGS) $(OBJECTS) $(LDFLAGS) -o $@
endif
.c.o:
- $(CC) $(INCFLAGS) $(CFLAGS) -fPIC $< -o $@
+ $(CC) $(INCFLAGS) $(CFLAGS) $(LDFLAGS) $< -o $@
distclean: clean
rm -f $(BINARY)

View File

@ -1,45 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit toolchain-funcs
DESCRIPTION="C library for controlling (RaspberryPi) PiFace Digital"
HOMEPAGE="https://github.com/piface/libpifacedigital"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/piface/libpifacedigital.git"
else
SRC_URI="https://github.com/piface/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~arm"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="dev-libs/libmcp23s17"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-fix-build-system.patch )
src_prepare(){
# Holy supercow, they managed to drop the trailing newline :-/
echo >> ${S}/Makefile
default
}
src_configure(){
default
tc-export CC
}
src_install() {
dolib ${PN}.so
doheader src/pifacedigital.h
einstalldocs
}

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">piface/libpifacedigital</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,20 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST pifacecommon-4.2.1.tar.gz 31160 BLAKE2B fdd6e120b0c940d7258c4a6de2eb278d2acabce482e420362ab1ab9c3458351573494b4ed7ceda39700c263d1ea2cb9a3d2fd099090dbfe99e09dc3991d54288 SHA512 ccd22bcd2c2d5532ebabcd039bba91bccfcdbc3d46ad60f8c97029a4c015faa5889c79a61d44a5748e7c4025d6c12b0aaeadb237b0b1f5e4ca249fd823f610ee
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEuys8HR2OLKbSzUtJHR6eQo71h0YFAlqnszkACgkQHR6eQo71
h0ZOYBAAonPRinm9zwtesmc0BUqwH4PVDCZxegGqQ79geLGHLndiypWA3poF02qL
yvHobE1M06QztKmWf4z/urdI9yy6e+TPh0p52a5oA92Ip6SGei+BfKoPgL97mi+h
nmeJ4Hs0kzStYl0PJ1QZtczfQrrhExt+gyjnFszaXYReJDoTN/nc3zjAvZzaEoz4
qC2/J9j0kDwam9TSiXXDZpd5wMcxEYdwuXy1GQJK3S9DgbySdWeXUVfaK5lgNxkC
Nv/I0RxHFXKskrOdAYsfVaY3aw/1xajV21T+nPW8xAXx4MqxLJV98jtpbBDSK5pm
R+vo1EFvn0WdQH8xEWMi0QnIGkgXTHZI2/qum45EranB0hUfe26LKNEsiRIEMb5T
QrbUwvWZtdo8tW2yJctSFYYlq6GkT8RrTxkOTOBlPqCulsH9SCS3zMp9D3D9m4L+
NdfKiLzQ0xoSTnCdju6ofD/WnDs2fP2KrfSx13i59MvfAgF6cTFDvwU9Hei7cxH/
lbioc3C1Sr2nqOY5enuXXiKVIp6M7J2/Bik2k99HBZaY/Wj454bzeTAiUKAhgjG8
qLOY/LrCW/tR4i660mf8tIvmMugIrdrLLiyNFXiIGRuMpaDqkkApEF+/V3yxNV4T
Yb6/iDiryaapMDAy8cO6FT2YOwd3EDBmmbb1xQ8e8SACwEbjLrQ=
=1vN6
-----END PGP SIGNATURE-----

View File

@ -1,19 +0,0 @@
Author: Nils Freydank <holgersson@posteo.de>
Date: Sat Apr 07 22:00:01 2018 +0100
Set speed_hz to a limited value as it might otherwise be default
to a system clock depending value.
--- a/pifacecommon/spi.py 2015-05-26 12:24:06.000000000 +0200
+++ b/pifacecommon/spi.py 2018-04-07 22:00:00.000000000 +0200
@@ -65,7 +65,8 @@
transfer = spi_ioc_transfer(
tx_buf=ctypes.addressof(wbuffer),
rx_buf=ctypes.addressof(rbuffer),
- len=ctypes.sizeof(wbuffer)
+ len=ctypes.sizeof(wbuffer),
+ speed_hz=ctypes.c_uint32(15000)
)
if self.spi_callback is not None:

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">piface/pifacecommon</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,28 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_5 )
inherit distutils-r1
DESCRIPTION="Common functions for interacting with PiFace products"
HOMEPAGE="https://github.com/piface/pifacecommon"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/piface/pifacecommon.git"
else
SRC_URI="https://github.com/piface/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~arm"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
PATCHES=( "${FILESDIR}"/${PN}-4.2.1-fix_speed.patch )
DEPEND="dev-libs/libpifacedigital"
RDEPEND="${DEPEND}"

View File

@ -1,28 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_6 )
inherit distutils-r1
DESCRIPTION="Common functions for interacting with PiFace products"
HOMEPAGE="https://github.com/piface/pifacecommon"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/piface/pifacecommon.git"
else
SRC_URI="https://github.com/piface/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~arm"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
PATCHES=( "${FILESDIR}"/${PN}-4.2.1-fix_speed.patch )
DEPEND="dev-libs/libpifacedigital"
RDEPEND="${DEPEND}"

View File

@ -1,20 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST pifacedigitalio-3.1.0.tar.gz 28624 BLAKE2B 2d2fffadb5d74b07ea04f2401b284ccc30ce2f65ab82cf59a079d10c5dcf2a6acf66071f5126ded5c4c2769e727057293a63969af4e1c9fd8ad53358649b87d0 SHA512 d44219447817213f030d103eef852ce8a6a6119a6007429ed4ea2051d5afb3105d2ee23ce4bab98cc37128e1f48ff06e278e9fc4b8369108cfcaf5b132294838
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEuys8HR2OLKbSzUtJHR6eQo71h0YFAlqns2cACgkQHR6eQo71
h0agMg//VW26M1eKTlcL2oZcYrGjArGwlts0Q8tgUGBEaDRkqhtI9ft8/CNiAb6x
b7G7qh5arBjC3UHA/xIyJYTxbmdVjVdW3J3lHQcsWa9bwESbED4wINzCS+qNkmsS
M5Kh7QGUZEt2qbxXBJBk3nzIoBVCP0pyxG2DTMwHgcc1fjHFyWHUs6vPmDWjeoE5
Tu3W1Xf1OueSW0eUAOYE+tAtksjSFUSMWe3nVNwyiKzc3lisgjUZJHBfuWMptimo
I3hLBzRAAPpL8QNTobJvyCGr55TnEo2Cu/STGBYtZtEr3C4qRDwFQTautzEIv6vf
V6CFXnNkjZk3zelpPYrog1zUsWMII1JyydP1m0bxbvuIqv+SnEZHouceACN03vt7
CevXDGOg+j00Tsn8OlNv0CjkKLCioozupE9towhBe/l4XmNfOL7biQ+GV4+J8hx2
U2MrFMoUUGP95oMSIwThh1HZJm0CK+7kYONuOdv+mUkP5dibj2iKp7ZKU285qhuP
fOV+h91O6asZDPFmSWPnLZWI29w4SC/RRjHtTgK2fJAxagpFP3cWqb0q6Y5+5bMT
jsPqUK8xeckcwwGbXT4DN3HJd4tIysya5yIRy+/tlemyqntmeB0/shz74PCy3IDg
yR3gzW4EqL17ICIhnPAdaTL1oT8QGgtUTK789LGI8sPnF9S9rWA=
=N1Ls
-----END PGP SIGNATURE-----

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">piface/pifacedigitalio</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,36 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_5 )
inherit distutils-r1
DESCRIPTION="The PiFace Digital input/output module"
HOMEPAGE="https://github.com/piface/pifacedigitalio"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/piface/pifacedigitalio.git"
else
SRC_URI="https://github.com/piface/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~arm"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="dev-python/pifacecommon"
RDEPEND="${DEPEND}"
pkg_postinst(){
elog "To use the PiFace you need SPI support enabled at boot time."
elog "This can be achived by putting the following lines to /boot/config.txt:"
elog "dtparam=spi=on"
elog "dtoverlay=spi1-1cs # or chose another <nr>-cs from 1 to 3"
elog "For more details, take a look at"
elog "https://elinux.org/RPi_SPI#SPI1_.28available_only_on_40-pins_P1_header.29"
ewarn "Have fun!"
}

View File

@ -3,12 +3,3 @@
# syntax: # syntax:
# author <email address> (LANG=C date +%d\ %b\ %Y) # author <email address> (LANG=C date +%d\ %b\ %Y)
# reason # reason
# Nils Freydank <holgersson@posteo.de> (29 Dez 2018)
# Mask as I do not run the piface libs on any RPi anymore
# and can therefore not provide any support nor proper testing.
# Might be removed somewhere in the future.
dev-libs/libmcp23s17
dev-libs/libpifacedigital
dev-python/pifacecommon
dev-python/pifacedigitalio